FLITECAMImagingReduction

class sofia_redux.pipeline.sofia.flitecam_imaging_reduction.FLITECAMImagingReduction[source]

Bases: FLITECAMReduction, FORCASTImagingReduction

FLITECAM imaging reduction steps.

Primary image reduction algorithms are defined in the flitecam package (sofia_redux.instruments.flitecam). Calibration-related algorithms are pulled from the sofia_redux.calibration 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

clip_image()

Clip image to useful portion of detector.

correct_gain()

Correct gain variations.

load(data[, param_class])

Call parent load, with imaging parameters.

make_flat()

Make a flat field from input data.

subtract_sky()

Subtract sky background level.

Methods Documentation

clip_image()[source]

Clip image to useful portion of detector.

correct_gain()[source]

Correct gain variations.

load(data, param_class=None)[source]

Call parent load, with imaging parameters.

make_flat()[source]

Make a flat field from input data.

The procedure is:

  • Check for a previously made flat. If present, use it.

  • If sky files are loaded, use those to make the flat. Correct the sky files with others to verify flat.

  • Otherwise, make a flat out of all input except the current file. If less than 3 files are loaded, no flat will be generated.

subtract_sky()[source]

Subtract sky background level.