sofia_redux.instruments.flitecam: FLITECAM Data Reduction Algorithms

The sofia_redux.instruments.flitecam package contains data reduction algorithms for the FLITECAM instrument. It is designed to be used with the sofia_redux package, so it does not provide its own interfaces or workflows. See the sofia_redux.pipeline documentation for more information on the pipeline interfaces, or the API documentation below for more information on FLITECAM algorithms.

Reference/API

sofia_redux.instruments.flitecam.backsub Module

Functions

backsub(hdul[, bgfile, method])

Correct flux data for background level.

sofia_redux.instruments.flitecam.calcvar Module

Functions

calcvar(data, header)

Calculate read and poisson noise from raw FLITECAM images.

sofia_redux.instruments.flitecam.clipimg Module

Functions

clipimg(hdul, datasec)

Clip image to useful portion of the detector.

sofia_redux.instruments.flitecam.expmap Module

Functions

expmap(hdul)

Append an exposure map matching the FLUX extension.

sofia_redux.instruments.flitecam.gaincor Module

Functions

gaincor(hdul)

Correct flux data for gain variations.

sofia_redux.instruments.flitecam.getcalpath Module

Functions

getcalpath(header)

Return the path of the ancillary files used for the pipeline.

sofia_redux.instruments.flitecam.hdcheck Module

Functions

validate_header(header, keywords)

Validate all keywords in a header against the keywords requirement.

hdcheck(headers, kwfile)

Checks file headers against validity criteria

sofia_redux.instruments.flitecam.lincor Module

Functions

lincor(hdul, linfile[, saturation])

Correct input flux data for detector nonlinearity.

sofia_redux.instruments.flitecam.maskbp Module

Functions

fixpix(data[, max_iter])

Identify hot and cold pixels in a data array.

maskbp(hdul[, cval, max_iter])

Mask hot and cold bad pixels.

sofia_redux.instruments.flitecam.mkflat Module

Functions

mkflat(infiles[, method, weighted, robust, ...])

Make a flat from dithered sky images.

sofia_redux.instruments.flitecam.mkspecimg Module

Functions

mkspecimg(infiles[, pair_subtract, ...])

Rotate and pair-subtract spectral images.

sofia_redux.instruments.flitecam.readfits Module

Functions

readfits(filename)

Return the data array from the input file.

sofia_redux.instruments.flitecam.split_input Module

Functions

split_input(infiles)

Split input into categories.