lentil.detector.rule07_dark_current#
- lentil.detector.rule07_dark_current(temperature, cutoff_wavelength, pixelscale, shape=1, fpn_factor=0, seed=None)[source]#
Create dark current frame for HgCdTe infrared detectors using Rule 07
If applied, dark current fixed pattern noise (FPN) is modeled by a log-normal distribution with mean = 1.0 and sigma = fpn_factor where rate = rate * FPN.
- Parameters:
temperature (float) – Focal plane temperature in K
cutoff_wavelength (float) – Focal plane cutoff wavelength in m
pixelscale (float) – Size of one pixel in m
shape (array_like or 1) – Output shape. If not specified, a scalar is returned.
fpn_factor (float) – Dark current FPN factor. Should be between 0.1 and 0.4 for CCD and CMOS sensors [2]. When fpn_factor is nonzero, seed must be provided. When fpn_factor is 0 (default), dark current FPN is not applied.
seed (None, int, or array_like, optional) – Random seed used to initialize the pseudo-random number generator. If seed is None (default), the seed will be randomly generated from
/dev/urandom
if available or the system clock.
- Returns:
dark_current – Dark current
- Return type:
ndarray
References
[1] Tennant, W.E. et al. MBE HgCdTe Technology: A Very General Solution to IR Detection, Described by “Rule 07”, a Very Convenient Heuristic. Journal of Electronic Materials (2008).
[2] Log-normal distribution - Wikipedia
[3] Janesick, J. R., Photon Transfer, Vol. PM170, SPIE (2007)