CMM.preset.preset_gain module
- class CMM.preset.preset_gain.PresetGain(preset_tools, preset_qubic)[source]
Bases:
object
Preset Detectors Gain.
Instance to initialize the Components Map-Making. It defines the input detectors gain variables and methodes.
- Parameters:
preset_tools (object) – Class containing tools and simulation parameters.
preset_qubic (object) – Class containing qubic operator and variables and methods.
Methods
Input gains.
- get_input_gain()[source]
Input gains.
Generates and processes input gain values for the instrument based on preset parameters.
This method sets the gain_in, all_gain_in, gain_iter, all_gain, and all_gain_iter attributes of the instance. The gain values are generated using a normal distribution and may be adjusted based on the instrument type and preset parameters.