ModelPointSrcSinElev

class ModelPointSrcSinElev(info_src)[source]

Bases: ecpi.simu.lib.sources.ModelPointSrcIRF

Model for point source. Elevation angle is in degree.

Constructor :param info_src: single source information {‘elev’,’dir’,’intensity’,’name’}.

Elev and dir in deg.

Attributes Summary

S_cpt
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.
set_coef_hors_axis() This function must be renamed as ‘get_coef_hors_axis’.
update() return True if the model is already update with position or not yet defined

Attributes Documentation

S_cpt = 0
name

Get name.

Methods Documentation

get_model(obs_time=None)

return the shadowgram model

intensity given in ph/cm2/s in the current channel.

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
set_coef_hors_axis()[source]

This function must be renamed as ‘get_coef_hors_axis’. Verbose argument is unused.

update()

return True if the model is already update with position or not yet defined