modules.masters.flat

KPF Master Flat construction module.

class kpfpipe.modules.masters.flat.Flat(l0_file_list, config=None)

Bases: BaseMasterModule

Construct a master flat frame from a stack of L0 flat exposures.

Standard reduction: a flat is bias- and dark-subtracted (_STANDARD_CALIBRATIONS = (“bias”, “dark”)). Not yet implemented.

Parameters:
  • l0_file_list (list of str) – Sorted list of L0 FITS file paths to stack.

  • config (None | dict | ConfigHandler) – Module configuration. Recognized keys: stack_sigma, chips.

info()

Print a summary of the module configuration (not yet implemented).