QADViewerSettings

class sofia_redux.pipeline.gui.qad_viewer.QADViewerSettings(imviewer, parent=None)[source]

Bases: QWidget, Ui_Form

Settings widget for QAD Viewer.

All attributes and methods for this class are intended for internal use, in response to user actions within a Qt5 application.

Start up the settings widget.

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

Associated QAD Image Viewer.

parentQWidget, optional

Parent widget. May be any Qt Widget.

Methods Summary

getDispValue()

Get current display settings from widgets.

getPhotValue()

Get current photometry settings from widgets.

getPlotValue()

Get current plot settings from widgets.

imexamFinish(status)

ImExam callback.

loadFinish(status)

DS9 load callback.

onDisplayHeader()

Display header data in a separate widget.

onImExam()

Start imexam in a new thread.

onLoad(data[, regfiles])

Start DS9 load in a new thread.

onSave()

Save QAD parameters.

resetDisp()

Reset display settings to initial values.

resetPhot()

Reset photometry settings to initial values.

resetPlot()

Reset plot settings to initial values.

restoreDisp()

Restore display settings to default values.

restorePhot()

Restore photometry settings to default values.

restorePlot()

Restore plot settings to default values.

setDispValue(fromdict)

Set widget values for display settings.

setPhotValue(fromdict)

Set widget values for photometry settings.

setPlotValue(fromdict)

Set widget values for plot settings.

setStatus(msg)

Set a status message.

Methods Documentation

getDispValue()[source]

Get current display settings from widgets.

getPhotValue()[source]

Get current photometry settings from widgets.

getPlotValue()[source]

Get current plot settings from widgets.

imexamFinish(status)[source]

ImExam callback.

Parameters:
statusNone or tuple

If not None, contains an error message to log.

loadFinish(status)[source]

DS9 load callback.

Parameters:
statusNone or tuple

If not None, contains an error message to log.

onDisplayHeader()[source]

Display header data in a separate widget.

onImExam()[source]

Start imexam in a new thread.

onLoad(data, regfiles=None)[source]

Start DS9 load in a new thread.

onSave()[source]

Save QAD parameters.

resetDisp()[source]

Reset display settings to initial values.

resetPhot()[source]

Reset photometry settings to initial values.

resetPlot()[source]

Reset plot settings to initial values.

restoreDisp()[source]

Restore display settings to default values.

restorePhot()[source]

Restore photometry settings to default values.

restorePlot()[source]

Restore plot settings to default values.

setDispValue(fromdict)[source]

Set widget values for display settings.

Parameters:
fromdictdict

Display parameter dictionary (QADImView.disp_parameters).

setPhotValue(fromdict)[source]

Set widget values for photometry settings.

Parameters:
fromdictdict

Photometry parameter dictionary (QADImView.phot_parameters).

setPlotValue(fromdict)[source]

Set widget values for plot settings.

Parameters:
fromdictdict

Plot parameter dictionary (QADImView.plot_parameters).

setStatus(msg)[source]

Set a status message.

Parameters:
msgstr

Status message to display.