|
lsst.obs.decam gff490e6085+238a0b469f
|
Classes | |
| class | DecamCrosstalkConfig |
| class | DecamCrosstalkIO |
| class | DecamCrosstalkTask |
Functions | |
| def | subtractCrosstalkIO (mef, sources, coeffs) |
Apply crosstalk corrections to DECam images. Some of this code is based on DECam_crosstalk.py, used for the THELI pipeline and written by Thomas Erben (private communication, 2018)
| def lsst.obs.decam.crosstalk.subtractCrosstalkIO | ( | mef, | |
| sources, | |||
| coeffs | |||
| ) |
Remove crosstalk from a DECam Multi-Extension FITS raw image.
This version uses astropy I/O rather than the Butler due to the cross-amp
crosstalk and ease of accessing Multi-Extension FITS data. It does not
integrate with isr and does not use the Butler.
WARNING: this will run fine on a non-overscan-corrected raw image, but the
crosstalk coefficients were computed post-overscan-correction. Therefore,
**the input raw image should be overscan corrected before this is run.**
Parameters
----------
mef : `astropy.io.fits.hdu.hdulist.HDUList`
One DECam Multi-Extension FITS image.
sources : `defaultdict`
Crosstalk source areas affecting flux in a certain victim area.
coeffs : `list`
Linear crosstalk coefficients.
Returns
-------
mef : `astropy.io.fits.hdu.hdulist.HDUList`
New MEF image with crosstalk corrected data and updated header.