LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Classes | |
class | DecamCrosstalkConfig |
class | DecamCrosstalkIO |
class | DecamCrosstalkTask |
Functions | |
def | subtractCrosstalkIO (mef, sources, coeffs) |
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.
Definition at line 288 of file crosstalk.py.