Flat Fielding Primitive
- class modules.flat_fielding.src.flat_fielding.FlatFielding(action: Action, context: ProcessingContext)[source]
This module defines class FlatFielding, which inherits from KPF0_Primitive and provides methods to perform the event flat fielding in the recipe.
- Parameters:
KPF0_Primitive – Parent class
action (keckdrpframework.models.action.Action) – Contains positional arguments and keyword arguments passed by the FlatFielding event issued in recipe.
context (keckdrpframework.models.processing_context.ProcessingContext) – Contains path of config file defined for flat_fielding module in master config file associated with recipe.
- rawdata
Instance of KPF0, assigned by actions.args[0]
- masterflat
Instance of KPF0, assigned by actions.args[1]
- data_type
Instance of KPF0, assigned by actions.args[2]
- config
Config context.
- logger
Instance of logging.Logger
- Type:
- alg
Instance of FlatFielding, which has operation codes for flat fielding.
- Type:
modules.flat_fielding.src.alg.FlatFielding