liger_iris_pipeline.sky_subtraction.background_sub

Functions

average_background(bkg_list, sigma, maxiters)

Average multiple background exposures into a combined data model

background_sub(input_model, bkg_list, sigma, ...)

Short Summary Subtract the background signal from an exposure by subtracting the average of one or more background exposures from it.

liger_iris_pipeline.sky_subtraction.background_sub.average_background(bkg_list, sigma, maxiters)[source]

Average multiple background exposures into a combined data model

Parameters:

bkg_list: filename list

List of background exposure file names

Returns:

avg_bkg: data model

The averaged background exposure

liger_iris_pipeline.sky_subtraction.background_sub.background_sub(input_model, bkg_list, sigma, maxiters)[source]

Short Summary

Subtract the background signal from an exposure by subtracting the average of one or more background exposures from it.

Parameters

input_model: data model

input target exposure data model

bkg_list: filename list

list of background exposure file names

Returns

result: data model

background-subtracted target data model