ModelFlat

class ModelFlat(level)[source]

Bases: ecpi.simu.lib.sources.ModelSrcInterface

Generic class for flat model

constructor

Parameters:level (float [ph/cm2/s]) – intensity detected

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