Data Analysis Plugins¶
The MOSviz data analysis plugins include operations on both 2D images and Spectrum1D one dimensional datasets. Plugins that are specific to 1D spectra are described in more detail under Specviz:Data Analysis Plugins. All plugins are accessed via the plugin icon in the upper right corner of the MOSviz application.
Gaussian smoothing of a spectrum is described under Specviz:Data Analysis Plugins:Gaussian Smoothing.
- Gaussian Smooth
Specviz documentation on gaussian smoothing of 1D spectra.
The Model Fitting plugin is described in more detail by the Specviz:Data Analysis Plugins:Model Fitting documentation.
- Model Fitting
Specviz documentation on fitting spectral models.
A slit can be added to the image viewer by opening the Slit Overlay plugin and clicking the Apply button. The Remove button can be used to remove a slit once it has been applied to the image viewer.
In order to plot a slit onto the image viewer, we need WCS information from an image and slit position from a 2D spectrum.
WCS information is taken from the
meta attribute of the
CCDData object representing the data in the
image viewer. The slit position is calculated using the
S_REGION header extension value, located in the
meta attribute of
SpectralCube object that is active in the 2D spectrum viewer.