BubeConfiguration

class BubeConfiguration(energy_ranges, bkg_correction_mode)[source]

Bases: object

configuration parameters and modules for the Bube process

constructor

Parameters:
  • energy_ranges ([[int, int]]) – different energy ranges (in PI) to extract the images [[low_energy, high_energy],[]]
  • bkg_correction_mode (str) – correction mode thanks to which background is subtracted.

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

check if energy_ranges is list of [int,int]

Parameters:energy_ranges (any (should be [[int, int]])) – different energy ranges (in PI) to extract the images [[low_energy, high_energy],[]]
Returns:energy_ranges
Return type:[[int, int]]