calcvar¶
- sofia_redux.instruments.flitecam.calcvar.calcvar(data, header)[source]¶
Calculate read and poisson noise from raw FLITECAM images.
The variance is calculated using the procedure outlined by Vacca et al. (2004). As such this procedure is appropriate for data read using M/CDS (Multiple / correlated double sampling; Fowler sampling). The standard deviation (error) can then be calculated by taking the square root of the variance array.
- Parameters:
- datanumpy.ndarray
Linearity corrected image array.
- headerastropy.io.fits.Header
Raw image header.
- Returns:
- numpy.ndarray
Image array with the same dimensions as the input raw image containing the calculated variance.