EyeViewer

class sofia_redux.visualization.redux_viewer.EyeViewer[source]

Bases: Viewer

Redux Viewer interface to the Eye of SOFIA.

See also

sofia_redux.visualization.controller

standalone Eye application

Attributes:
eyeeye.Eye

Spectral viewer.

first_displaybool

Flag that indicates whether the Eye has been initialized for display.

Instantiate the viewer.

Methods Summary

close()

Close the viewer.

display()

Display data.

reset()

Reset the viewer.

start([parent])

Start up the viewer.

Methods Documentation

close() None[source]

Close the viewer.

display() None[source]

Display data.

Data items to display (filenames or astropy.io.fits.HDUList) should be set in the display_data attribute by the update method.

The display_data should contain only displayable spectra, for viewing in the Eye interface.

reset() None[source]

Reset the viewer.

start(parent=None) None[source]

Start up the viewer.

Parameters:
parentQtWidgets.QWidget, optional

Widget to act as parent to the viewer.