FORCASTWavecalReduction¶
- class sofia_redux.pipeline.sofia.forcast_wavecal_reduction.FORCASTWavecalReduction[source]¶
Bases:
FORCASTSpectroscopyReduction
FORCAST wavelength calibration reduction steps.
This reduction object defines specialized reduction steps for generating wavelength calibration data from spectroscopic input files. It is selected by the SOFIA chooser only if a top-level configuration flag is supplied (wavecal=True). The final output product from this reduction is a FITS file (*WCL*.fits) with PRODTYPE = ‘wavecal’. This file can be supplied to the standard spectroscopic pipeline, at the make_profiles step, to specify a new wavelength calibration.
Initialize the reduction object.
Methods Summary
Extract high S/N spectrum from unrectified image.
Fit a 2D surface to line IDs.
Initial identification of lines.
load
(data[, param_class])Call parent load, with spatcal parameters.
rectify
()Return new viewers.
Reidentification of lines at various slit positions.
set_display_data
([raw, filenames, regions, ...])Store display data for custom viewers.
Methods Documentation
- set_display_data(raw=False, filenames=None, regions=None, residuals=None)[source]¶
Store display data for custom viewers.
- Parameters:
- rawbool
If True, display data is taken from self.rawfiles. If False, display data is taken from self.input
- filenameslist of str, optional
If provided and
raw
is False, file names will be passed to QADViewer instead of self.input.- regionslist of str, optional
File names of DS9 region files to pass to QADViewer.
- residualslist of array-like, optional
Fit residual data to pass to ResidualViewer, nplot x 3. The arrays should be x value, y value, residuals.