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:
- imviewer
sofia_redux.pipeline.gui.qad.qad_imview.QADImView
Associated QAD Image Viewer.
- parent
QWidget
, optional Parent widget. May be any Qt Widget.
- imviewer
Methods Summary
Get current display settings from widgets.
Get current photometry settings from widgets.
Get current plot settings from widgets.
imexamFinish
(status)ImExam callback.
loadFinish
(status)DS9 load callback.
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.
Reset display settings to initial values.
Reset photometry settings to initial values.
Reset plot settings to initial values.
Restore display settings to default values.
Restore photometry settings to default values.
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
- 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.
- 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
).