FLITECAMSpectroscopyReduction

class sofia_redux.pipeline.sofia.flitecam_spectroscopy_reduction.FLITECAMSpectroscopyReduction[source]

Bases: FLITECAMReduction, FORCASTSpectroscopyReduction

FLITECAM spectroscopy reduction steps.

Primary image reduction algorithms are defined in the flitecam package (sofia_redux.instruments.flitecam). Spectroscopy-related algorithms are pulled from the sofia_redux.spectroscopy package, and some utilities come from the sofia_redux.toolkit package. This reduction object requires that all three packages be installed.

This reduction object defines a method for each pipeline step, that calls the appropriate algorithm from its source packages.

Initialize the reduction object.

Methods Summary

flux_calibrate()

Calibrate spectral flux.

load(data[, param_class])

Load input data to make it available to reduction steps.

make_image()

Pair subtract spectral images

Methods Documentation

flux_calibrate()[source]

Calibrate spectral flux.

load(data, param_class=None)[source]

Load input data to make it available to reduction steps.

The process is:

  • Call the parent load method to initialize data reduction variables.

  • Use the first loaded FITS header to determine and load the configuration.

  • Use the loaded configuration and the product type in the base header to determine the data processing recipe.

  • Load parameters for all steps.

  • Load the data immediately if starting from an intermediate step; otherwise, just load the raw headers and defer loading the data from the FITS files.

After this step, the input attribute is populated as required for the first pipeline step in the recipe.

Parameters:
datalist of str or str

Input file paths to load.

param_classclass, optional

Parameters to instantiate, if not FLITECAMParameters.

make_image()[source]

Pair subtract spectral images