liger_iris_pipeline.background.calc_background_imager_step

Functions

calc_scaled_sky_imager(data_cube, dq_cube[, ...])

calc_sky_imager(image, mask[, fwhm, ...])

Calculate the uniform sky level from a single image.

Classes

CalculateBackgroundImagerStep(*args, **kwargs)

Calulate the background sky from a single frame or a group of frames with different scales.

class liger_iris_pipeline.background.calc_background_imager_step.CalculateBackgroundImagerStep(*args, **kwargs)[source]

Bases: LigerIRISStep

Calulate the background sky from a single frame or a group of frames with different scales.

class_alias = 'calc_bkg_imager'
process(input)[source]

This is where real work happens. Every Step subclass has to override this method. The default behaviour is to raise a NotImplementedError exception. The signature must be process(self, input : str | LigerIRISDataModel).

spec = '\n        sigma_low = float(default = 6) # Number of sigma for outlier rejection.\n        sigma_high = float(default = 2) # Number of sigma for outlier rejection.\n        maxiters = integer(default = 100) # Maximum number of iterations for outlier rejection.\n        box_size = integer(default = 101) # Size of the box for background estimation.\n        filter_size = integer(default = None) # Size of the box for background estimation.\n    '