ModelCxbFlat¶
-
class
ModelCxbFlat(cxb_level=1)[source]¶ Bases:
ecpi.simu.lib.sources.ModelFlatmodel for a flat CXB without spectrum
constructor
Parameters: cxb_level (float [ph/cm2/s]) – intensity of CXB 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: 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
-