FORCASTImagingParameters

class sofia_redux.pipeline.sofia.parameters.forcast_imaging_parameters.FORCASTImagingParameters(default=None, drip_cal_config=None, drip_config=None, pipecal_config=None)[source]

Bases: FORCASTParameters

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

pipecal_configdict-like, optional

Flux calibration and atmospheric correction configuration, as returned from the pipecal pipecal_config function.

Methods Summary

coadd(step_index)

Modify parameters for the coadd step.

copy()

Return a copy of the parameters.

fluxcal(step_index)

Modify parameters for the fluxcal step.

merge(step_index)

Modify parameters for the merge step.

register(step_index)

Modify parameters for the register step.

undistort(step_index)

Modify parameters for the undistort step.

Methods Documentation

coadd(step_index)[source]

Modify parameters for the coadd step.

Skips coadd for spectroscopic acquisition images.

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
fluxcal(step_index)[source]

Modify parameters for the fluxcal step.

Sets the photometry parameters fitsize and fwhm from pipecal_config.

Default values for these parameters, by instrument and mode, are defined in pipecal configuration files.

Parameters:
step_indexint

Reduction recipe index for the step.

merge(step_index)[source]

Modify parameters for the merge step.

Sets the merging algorithm default (cormerge) using drip_config and drip_cal_config.

If the observation is a flux standard, the merging algorithm is set to centroiding, by default. Otherwise, the default is read from the DRIP config file.

Parameters:
step_indexint

Reduction recipe index for the step.

register(step_index)[source]

Modify parameters for the register step.

Sets the cross-correlation parameter xyshift and the centroiding parameter mfwhm from drip_config.

Parameters:
step_indexint

Reduction recipe index for the step.

undistort(step_index)[source]

Modify parameters for the undistort step.

Sets default pinfile, using drip_cal_config.

Parameters:
step_indexint

Reduction recipe index for the step.