detector_shotnoise#
- excalibuhr.utils.detector_shotnoise(im, ron, GAIN=2.0, NDIT=1)[source]#
calculate the detector shotnoise map
- Parameters:
im (list or array) – a frame or a list of detector images
ron (list or array) – a frame or a list of associated readout noise maps
GAIN (list of float or float) – detector gain for each image
NDIT (int) – number of DIT exposure coadded
- Returns:
shotnoise – detector shotnoise
- Return type:
list or array