FLITECAMWavecalParameters¶
- class sofia_redux.pipeline.sofia.parameters.flitecam_wavecal_parameters.FLITECAMWavecalParameters(default=None, config=None, pipecal_config=None)[source]¶
Bases:
FLITECAMSpectroscopyParameters
Reduction parameters for the FLITECAM grism wavecal 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:
- configdict-like, optional
Reduction mode and auxiliary file configuration mapping, as returned from the sofia_redux.instruments.flitecam
getcalpath
function.- pipecal_configdict-like, optional
Flux calibration and atmospheric correction configuration, as returned from the pipecal
pipecal_config
function.
Methods Summary
fit_lines
(step_index)Modify parameters for the fitting step.
identify_lines
(step_index)Modify parameters for the profile step.
make_profiles
(step_index)Modify parameters for the profile step.
Read parameter values into a configuration object.
Methods Documentation
- fit_lines(step_index)[source]¶
Modify parameters for the fitting step.
Sets default spatfile according to
config
.- Parameters:
- step_indexint
Reduction recipe index for the step.
- identify_lines(step_index)[source]¶
Modify parameters for the profile step.
Sets default wavefile according to
config
.- Parameters:
- step_indexint
Reduction recipe index for the step.
- make_profiles(step_index)[source]¶
Modify parameters for the profile step.
Sets default wavefile according to
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 wavecal = True flag to the top-level configuration.
- Returns:
- ConfigObj
The parameter values in a
configobj.ConfigObj
object.