ModelCxbShapeBasedEnergy

class ModelCxbShapeBasedEnergy(solidangle_filename='/home/user/projet/ECLAIRs/src/ecpi/common/data/instru/pixels_solid_angle_withcostheta.fits')[source]

Bases: ecpi.simu.lib.sources.ModelSrcInterface

Model for an energy dependent CXB based on the pixel solid angle shape

constructor

Parameters: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

..note: RMF must be handled here at some point ! ..note: doc to Moretti’s model: flux = integral between e_min and e_max of eq. 4 of https://arxiv.org/pdf/0811.1444.pdf

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