ModelInternalNoise¶
-
class
ModelInternalNoise(noise_level=0.003)[source]¶ Bases:
ecpi.simu.lib.sources.ModelFlatModel for a flat internal noise, impact on detector of particles in the terrestrial environment The internal noise is independent from wavelength
constructor
Parameters: noise_level (float) – internal noise level in ph/s/cm2/keV (default is 0.003) 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)[source]¶ return the shadowgram model
Parameters: obs_time (float) – observation time in s Returns: noise detector image in ph/pix Return type: array(float)
-
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
-