BubeConfiguration¶
-
class
BubeConfiguration(energy_ranges, bkg_correction_mode)[source]¶ Bases:
objectconfiguration parameters and modules for the Bube process
constructor
Parameters: energy_ranges – different energy ranges (in PI) to extract the images [[low_energy, high_energy],[]] :type energy_ranges: [[int, int]] :param bkg_correction_mode: correction mode thanks to which background is subtracted. :type bkg_correction_mode: str
Methods Summary
check_bkg_correction_mode(bkg_correction_mode)check CXB background correction mode. check_energy_ranges(energy_ranges)check the energy_ranges parameter. Methods Documentation
-
check_bkg_correction_mode(bkg_correction_mode)[source]¶ check CXB background correction mode.
Parameters: bkg_correction_mode (str) – CXB background correction mode Returns: CXB background correction mode Return type: str
-
check_energy_ranges(energy_ranges)[source]¶ check the energy_ranges parameter. Also check if energy_ranges is list of [int,int]
Parameters: energy_ranges – different energy ranges (in PI) to extract the images [[low_energy, high_energy],[]] :type energy_ranges: any (should be [[int, int]])
Returns: energy_ranges Return type: [[int, int]]
-