make_emccd_noise
- hcipy.util.make_emccd_noise(photo_electron_flux, read_noise, emgain)
Draw samples from a Poisson-Gamma-Normal distribution, which is an accurate model of EMCCDs (following [Hirsch2013]).
The model is most accurate for high emgains.
[Hirsch2013]Michael Hirsch et al. “ A stochastic model for electron multiplication charge-coupled devices - from theory to practice.” PloS one 8.1 (2013): e53671.
- Parameters:
- photo_electron_fluxarray_like
The incoming photo-electron flux, which is usually a combination of QE * (photon_flux + background) + dark current.
- read_noisearray_like
The read noise of the camera.
- emgainfloat
The electron multiplying gain of the EMCCD process. Must be larger than 0.
- Returns:
- array_like
The noisy realization of the EMCCD detection.