fourier_corr
- jwst.ami.bp_fix.fourier_corr(data, pxdq, fmas)[source]
Compute and apply the bad pixel corrections based on Section 2.5 of Ireland 2013.
- Parameters:
- datanumpy array
Science data
- pxdqnumpy array
Bad pixel mask
- fmasnumpy array
FT of science data
- Returns:
- data_outnumpy array
Corrected science data
References
M. J. Ireland, Phase errors in diffraction-limited imaging: contrast limits for sparse aperture masking, Monthly Notices of the Royal Astronomical Society, Volume 433, Issue 2, 01 August 2013, Pages 1718–1728, https://doi.org/10.1093/mnras/stt859