ModelEarthMoretti¶
-
class
ModelEarthMoretti(limb=None, vec_earth=None)[source]¶ Bases:
ecpi.simu.lib.sources.ModelSrcInterfaceModel 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([limb, vec_earth, use_numba])constructor Attributes Documentation
-
name¶ Get name.
Methods Documentation
-
get_model(obs_time=None)[source]¶ 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(limb=None, vec_earth=None, use_numba=True)[source]¶ 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