lsst.display.ds9

The lsst.display.ds9 module provides an SAOImageDS9 backend for the lsst.afw.display module.

Contributing

lsst.display.ds9 is developed at https://github.com/lsst/display_ds9. You can find Jira issues for this module under the display_ds9 component.

Python API reference

lsst.display.ds9 Package

Functions

ds9Cmd([cmd, trap, flush, silent, frame, get]) Issue a ds9 command, raising errors as appropriate
ds9Version() Return the version of ds9 in use, as a string
get(xpa, xtemplate, paramList, mode)
getXpaAccessPoint() Parse XPA_PORT and send return an identifier to send ds9 commands there, instead of “ds9” If you don’t have XPA_PORT set, the usual xpans tricks will be played when we return “ds9”.
initDS9([execDs9])
reset()
selectFrame(frame)
set(xpa, xtemplate, paramList, mode, buf, len)
setFd1(xpa, xtemplate, paramList, mode, fd)

Classes

Buffer([size]) Control buffering the sending of commands to ds9; annoying but necessary for anything resembling performance
DisplayImpl(display[, verbose])
Ds9Error Some problem talking to ds9
Ds9Event(k, x, y) An event generated by a mouse or key click on the display
xparec

Class Inheritance Diagram

Inheritance diagram of lsst.display.ds9.ds9.Buffer, lsst.display.ds9.ds9.DisplayImpl, lsst.display.ds9.ds9.Ds9Error, lsst.display.ds9.ds9.Ds9Event, lsst.display.ds9.xpa.xparec