ModelCxbShapeBased

class ModelCxbShapeBased(cxb_level=3035, solidangle_filename='/home/user/projet/ECLAIRs/src/ecpi/common/data/instru/pixels_solid_angle.fits')[source]

Bases: ecpi.simu.lib.sources.ModelSrcInterface

Model for a CXB without spectrum based on the pixel solid angle shape

..warning :: dead code ?

constructor

Parameters:
  • cxb_level (float [ph/cm2/s]) – intensity of CXB
  • solidangle_filename (string) – PATH/filename of the solid angle image

Attributes Summary

name Get 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:cxb 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