QADViewer

class sofia_redux.pipeline.gui.qad_viewer.QADViewer[source]

Bases: Viewer

Redux Viewer interface to DS9 and the Eye of SOFIA.

Uses pyds9 to control DS9 for image and cube display, and the Eye viewer for spectra.

See also

sofia_redux.pipeline.gui.qad.qad_app

standalone QAD application

Attributes:
imviewersofia_redux.pipeline.gui.qad.qad_imview.QADImView

QAD Image and Spectrum Viewer.

settingsQADViewerSettings

Control widgets for the QADViewer.

Initialize the QAD Viewer.

Methods Summary

close()

Close the viewer.

display()

Display data.

reset()

Reset the viewer.

start([parent])

Start up the viewer.

Methods Documentation

close()[source]

Close the viewer.

display()[source]

Display data.

Data items should be set in the display_data attribute, by the update method.

This method dispatches FITS files, DS9 region files, and data arrays to the QAD image viewer. Any other files are ignored.

reset()[source]

Reset the viewer.

start(parent=None)[source]

Start up the viewer.

Parameters:
parentQtWidgets.QSplitter

Widget to add the viewer settings to. May be any Qt widget with an addWidget method.