FORCASTParameters

class sofia_redux.pipeline.sofia.parameters.forcast_parameters.FORCASTParameters(default=None, drip_cal_config=None, drip_config=None)[source]

Bases: Parameters

Reduction parameters for the FORCAST 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

clean(step_index)

Modify parameters for the clean step.

copy()

Return a copy of the parameters.

droop(step_index)

Modify parameters for the droop step.

nonlin(step_index)

Modify parameters for the nonlin step.

stack(step_index)

Modify parameters for the stack step.

Methods Documentation

clean(step_index)[source]

Modify parameters for the clean step.

Sets default badfile, using drip_cal_config.

Parameters:
step_indexint

Reduction recipe index for the step.

copy()[source]

Return a copy of the parameters.

Overrides default copy to add in config attributes.

Returns:
Parameters
droop(step_index)[source]

Modify parameters for the droop step.

Sets default droop fraction (fracdroop), using drip_config.

Parameters:
step_indexint

Reduction recipe index for the step.

nonlin(step_index)[source]

Modify parameters for the nonlin step.

Sets default section center and size (secctr, secsize), using drip_config.

Parameters:
step_indexint

Reduction recipe index for the step.

stack(step_index)[source]

Modify parameters for the stack step.

Sets default background scaling and subtraction flags (bgscale, bgsub) and section location (secctr, secsize), using drip_config and drip_cal_config.

If the data is grism mode or C2NC2, background subtraction and scaling are turned off by default. Otherwise, the default is read from the DRIP config file.

Parameters:
step_indexint

Reduction recipe index for the step.