LSST Applications g04e9c324dd+8c5ae1fdc5,g134cb467dc+b203dec576,g18429d2f64+358861cd2c,g199a45376c+0ba108daf9,g1fd858c14a+dd066899e3,g262e1987ae+ebfced1d55,g29ae962dfc+72fd90588e,g2cef7863aa+aef1011c0b,g35bb328faa+8c5ae1fdc5,g3fd5ace14f+b668f15bc5,g4595892280+3897dae354,g47891489e3+abcf9c3559,g4d44eb3520+fb4ddce128,g53246c7159+8c5ae1fdc5,g67b6fd64d1+abcf9c3559,g67fd3c3899+1f72b5a9f7,g74acd417e5+cb6b47f07b,g786e29fd12+668abc6043,g87389fa792+8856018cbb,g89139ef638+abcf9c3559,g8d7436a09f+bcf525d20c,g8ea07a8fe4+9f5ccc88ac,g90f42f885a+6054cc57f1,g97be763408+06f794da49,g9dd6db0277+1f72b5a9f7,ga681d05dcb+7e36ad54cd,gabf8522325+735880ea63,gac2eed3f23+abcf9c3559,gb89ab40317+abcf9c3559,gbf99507273+8c5ae1fdc5,gd8ff7fe66e+1f72b5a9f7,gdab6d2f7ff+cb6b47f07b,gdc713202bf+1f72b5a9f7,gdfd2d52018+8225f2b331,ge365c994fd+375fc21c71,ge410e46f29+abcf9c3559,geaed405ab2+562b3308c0,gf9a733ac38+8c5ae1fdc5,w.2025.35
LSST Data Management Base Package
|
Public Member Functions | |
__init__ (self, size=0) | |
set (self, size, silent=True) | |
pushSize (self, size=-1) | |
popSize (self) | |
flush (self, silent=True) | |
Protected Member Functions | |
_getSize (self) | |
Protected Attributes | |
str | _commands = "" |
_lenCommands = len(self._commands) | |
list | _bufsize = [] |
Buffer to control sending commands to DS9. Notes ----- The usual usage pattern is: >>> with ds9.Buffering(): ... # bunches of ds9.{dot,line} commands ... ds9.flush() ... # bunches more ds9.{dot,line} commands
lsst.display.ds9.ds9.Buffer.__init__ | ( | self, | |
size = 0 ) |
Definition at line 126 of file ds9.py.
|
protected |
lsst.display.ds9.ds9.Buffer.flush | ( | self, | |
silent = True ) |
Flush the pending commands. Parameters ---------- silent : `bool`, optional Do not print error messages.
Definition at line 199 of file ds9.py.
lsst.display.ds9.ds9.Buffer.popSize | ( | self | ) |
Switch back to the previous command buffer size. Notes ----- See also `pushSize`.
Definition at line 187 of file ds9.py.
lsst.display.ds9.ds9.Buffer.pushSize | ( | self, | |
size = -1 ) |
Replace current DS9 command buffer size. Parameters ---------- size : `int`, optional Size of buffer. A negative value sets the largest possible buffer. Notes ----- See also `popSize`.
Definition at line 170 of file ds9.py.
lsst.display.ds9.ds9.Buffer.set | ( | self, | |
size, | |||
silent = True ) |
Set the ds9 buffer size to size. Parameters ---------- size : `int` Size of buffer. Requesting a negative size provides the largest possible buffer given bugs in xpa. silent : `bool`, optional Do not print error messages (default `True`).
Definition at line 133 of file ds9.py.
|
protected |