ModelPointSrcIRF¶
-
class
ModelPointSrcIRF(info_src)[source]¶ Bases:
ecpi.simu.lib.sources.ModelSrcInterfacemodel for point source
Constructor
info_src must have at least the same number of intensities as idx_chan
Parameters: info_src (astropy.table.Row or dict) – single source information {‘elev’,’dir’,’intensity’,’name’}. Elev and dir in deg. Attributes Summary
S_cptnameGet 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()Return coefficient associated to cos theta or sin elev off axis effect. 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)[source]¶ 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]¶ Return coefficient associated to cos theta or sin elev off axis effect.
Returns: coefficient (units ?) Return type: array(float)
-
update()¶ return True if the model is already update with position or not yet defined
-