ModelMeanCXBShapeBasedEnergyWithEarthCalculator¶
-
class
ModelMeanCXBShapeBasedEnergyWithEarthCalculator(limb=None, vec_earth=None, use_numba=True)[source]¶ Bases:
ecpi.simu.lib.sources._ModelMeanCXBShapeBasedEnergyWithEarthModel for an energy dependent CXB in the presence of Earth in FOV. CXB model is computed with mean shape.
constructor
Parameters: - limb (float) – limb angle in degree
- vec_earth (list/array of size 3) – earth direction unit vector
- use_numba – whether or not to use pre-compiled function
when computing solid angle. Default is True. :type use_numba: bool
..note: sum of solid angle with real mask accounts for cos theta
Attributes Summary
nameGet name. Methods Summary
get_model([obs_time])Return the shadowgram model. get_noisy_model([obs_time])Return the shadowgram model with poisson noise. update()return True if the model is already update with position or not yet defined Attributes Documentation
-
name¶ Get name.
Methods Documentation
-
get_model(obs_time=None)¶ Return the shadowgram model.
Parameters: obs_time (float) – observation time in s Returns: shadowgram Return type: 2D array(float) with shape 80x80
-
get_noisy_model(obs_time=None)¶ Return the shadowgram model with poisson noise.
Parameters: obs_time (float) – observation time in seconds
-
update()¶ return True if the model is already update with position or not yet defined