Buffer¶
-
class
lsst.display.ds9.Buffer(size=0)¶ Bases:
objectControl buffering the sending of commands to ds9; annoying but necessary for anything resembling performance
The usual usage pattern (from a module importing this file, ds9.py) is:
- with ds9.Buffering():
- # bunches of ds9.{dot,line} commands ds9.flush() # bunches more ds9.{dot,line} commands
Methods Summary
flush([silent])Flush the pending commands popSize()Switch back to the previous command buffer size (see also pushSize) pushSize([size])Replace current ds9 command buffer size with size (see also popSize) @param: Size of buffer (-1: largest possible given bugs in xpa) set(size[, silent])Set the ds9 buffer size to size Methods Documentation
-
flush(silent=True)¶ Flush the pending commands
-
popSize()¶ Switch back to the previous command buffer size (see also pushSize)
-
pushSize(size=-1)¶ Replace current ds9 command buffer size with size (see also popSize) @param: Size of buffer (-1: largest possible given bugs in xpa)
-
set(size, silent=True)¶ Set the ds9 buffer size to size