FORCASTSpatcalParameters¶
- class sofia_redux.pipeline.sofia.parameters.forcast_spatcal_parameters.FORCASTSpatcalParameters(default=None, drip_cal_config=None, drip_config=None)[source]¶
Bases:
FORCASTWavecalParameters
Reduction parameters for the FORCAST grism spatcal pipeline.
Initialize parameters with default values.
The various config files are used to override certain parameter defaults for particular observation modes, or dates, etc.
- Parameters:
- drip_cal_configdict-like, optional
Reduction mode and auxiliary file configuration mapping, as returned from the sofia_redux.instruments.forcast
getcalpath
function.- drip_configdict-like, optional
DRIP configuration, as loaded by the sofia_redux.instruments.forcast
configuration
function.
Methods Summary
fit_traces
(step_index)Modify parameters for the fitting step.
Read parameter values into a configuration object.
Methods Documentation
- fit_traces(step_index)[source]¶
Modify parameters for the fitting step.
Sets default wavefile according to
drip_cal_config
.- Parameters:
- step_indexint
Reduction recipe index for the step.
- to_config()[source]¶
Read parameter values into a configuration object.
Section names in the output object are written as
stepindex: stepname
in order to record the order of reduction steps, and to keep any repeated step names uniquely identified. Only the current parameter values are recorded. Other information, such as data or widget type or default values, is lost.Overrides parent function in order to add a spatcal = True flag to the top-level configuration.
- Returns:
- ConfigObj
The parameter values in a
configobj.ConfigObj
object.