ecpi.process.bube.core.detector_images module
Section author: ECLAIRs GP team
Detector images class definition
Reference
- class DetectorImages(detector_effect=None, secl=None)[source]
Bases:
objectbuild and save detector images for a defined observation time
- corrects_background(enable_arf=True)[source]
Apply background correction on shadowgrams.
- Parameters
enable_arf (bool) – whether or not to multiply par ARF in BKG subtraction. Default is True.
- corrects_bkg_nonuniformity()[source]
Correct background non uniformity using the pixel detector efficiencies.
..warning: it is assumed the global_efficiency matrix is the same for every channel !
- set_shadow(shadowgrams, shadowgrams_var, obs_time, energy_channels, update_context=True)[source]
- Parameters
shadowgrams (list(2D array)) – detector images
shadowgrams_var (list(2D array)) – detector variance images
obs_time (float) – observation time in s
energy_channels – different energy ranges (in PI) to extract
the images [[low_energy, high_energy],[]] :type energy_channels: [[int, int]]