specbox.qtmodule
Package
- class specbox.qtmodule.PGSpecPlot(*args: Any, **kwargs: Any)[source]
Bases:
PlotWidgetInteractive spectrum viewer based on
pyqtgraph.This widget was originally developed for Euclid SIR 1D spectra but has been generalized to handle any spectrum class derived from
ConvenientSpecMixin(e.g.SpecEuclid1d,SpecLAMOST).
- class specbox.qtmodule.PGSpecPlotApp(*args: Any, **kwargs: Any)[source]
Bases:
QApplicationStandalone application running
PGSpecPlot.
- class specbox.qtmodule.PGSpecPlotThread(*args: Any, **kwargs: Any)[source]
Bases:
QThreadRun
PGSpecPlotAppin a separate thread.
- class specbox.qtmodule.PGSpecPlotEnhanced(*args: Any, **kwargs: Any)[source]
Bases:
PlotWidgetEnhanced version of PGSpecPlot with image cutouts and template switching.
- class specbox.qtmodule.PGSpecPlotAppEnhanced(*args: Any, **kwargs: Any)[source]
Bases:
QApplicationEnhanced standalone application with image cutouts and template switching.
- on_coordinate_changed(ra, dec)[source]
Handle coordinate changes and pass object ID to cutout widget.
Module: qtmodule
- class specbox.qtmodule.qtmodule.PGSpecPlot(*args: Any, **kwargs: Any)[source]
Bases:
PlotWidgetInteractive spectrum viewer based on
pyqtgraph.This widget was originally developed for Euclid SIR 1D spectra but has been generalized to handle any spectrum class derived from
ConvenientSpecMixin(e.g.SpecEuclid1d,SpecLAMOST).
- class specbox.qtmodule.qtmodule.PGSpecPlotApp(*args: Any, **kwargs: Any)[source]
Bases:
QApplicationStandalone application running
PGSpecPlot.
- class specbox.qtmodule.qtmodule.PGSpecPlotThread(*args: Any, **kwargs: Any)[source]
Bases:
QThreadRun
PGSpecPlotAppin a separate thread.
Module: qtmodule_enhanced
- class specbox.qtmodule.qtmodule_enhanced.ImageCutoutWidget(*args: Any, **kwargs: Any)[source]
Bases:
QWidgetWidget for displaying astronomical image cutouts.
- QA_CONTAMINATION_BIT = 1
- QA_UNUSABLE_BIT = 2
- class specbox.qtmodule.qtmodule_enhanced.AIMSZReviewPanel(*args: Any, **kwargs: Any)[source]
Bases:
QWidgetRead-only review context plus reviewer-editable fields for AIMS-z.
- load_online_cutouts(ra, dec, objid=None)[source]
Load cutouts from HiPS2FITS service for given coordinates.
- add_image_from_pil(pil_image, label='')[source]
Add PIL image directly to display (for JPEG format).
- class specbox.qtmodule.qtmodule_enhanced.TemplateManager[source]
Bases:
objectManages spectrum templates.
- class specbox.qtmodule.qtmodule_enhanced.PGSpecPlotEnhanced(*args: Any, **kwargs: Any)[source]
Bases:
PlotWidgetEnhanced version of PGSpecPlot with image cutouts and template switching.
- class specbox.qtmodule.qtmodule_enhanced.PGSpecPlotAppEnhanced(*args: Any, **kwargs: Any)[source]
Bases:
QApplicationEnhanced standalone application with image cutouts and template switching.
- on_coordinate_changed(ra, dec)[source]
Handle coordinate changes and pass object ID to cutout widget.
Module: qtfelo
- class specbox.qtmodule.qtfelo.PGSpecPlotFeLo(*args: Any, **kwargs: Any)[source]
Bases:
PlotWidgetPlot widget for plotting spectra using pyqtgraph.
Module: qtsir1d
Backward compatibility module.
The functionality of the original qtsir1d viewer has been merged into
qtmodule. This file simply re-exports the public classes so that existing
imports continue to work.
- class specbox.qtmodule.qtsir1d.PGSpecPlot(*args: Any, **kwargs: Any)[source]
Bases:
PlotWidgetInteractive spectrum viewer based on
pyqtgraph.This widget was originally developed for Euclid SIR 1D spectra but has been generalized to handle any spectrum class derived from
ConvenientSpecMixin(e.g.SpecEuclid1d,SpecLAMOST).
- class specbox.qtmodule.qtsir1d.PGSpecPlotApp(*args: Any, **kwargs: Any)[source]
Bases:
QApplicationStandalone application running
PGSpecPlot.
- class specbox.qtmodule.qtsir1d.PGSpecPlotThread(*args: Any, **kwargs: Any)[source]
Bases:
QThreadRun
PGSpecPlotAppin a separate thread.