The standard LSST Science Pipelines instrument signature removal (ISR), which is run as part of processCcd, includes several operations. One of these is crosstalk correction. Crosstalk occurs when a bright source in one region of an image results in a “ghost” (which may be positive or negative) to appear elsewhere due to undesired electronics coupling.
A default CrosstalkTask exists in ip_isr, but it was not being regularly used to process data for some time. Custom crosstalk correction tasks exist for both HSC and DECam (and possibly others). It was recently discovered that implementing the DECam crosstalk correction (DM-10299) broke the default CrosstalkTask in ip_isr because the order of ISR operations was changed.
The ticket to fix the default CrosstalkTask so it works with this order of operations is DM-15152. The tests will be updated to catch any future order changes in DM-15164. The initial conversation which raised this problem was on Slack in #dm-lsstcam when lsstCamera data was first being processed with obs_lsstcam. The crosstalk subtraction appeared offset in the images by 13 pixels, which is the difference between a trimmed and untrimmed image.
It is worth noting that DECam crosstalk correction was tricky to implement due to inter-CCD crosstalk. For example, on DECam, a victim amp with ccdnum=47 could have a crosstalk source originating from an amp in, say, ccdnum=50. In the default CrosstalkTask in ip_isr, it is assumed that all appreciable crosstalk happens between amps on the same CCD.
Developers and users should be aware that ip_isr presently does crosstalk correction after overscan correction but before CCD assembly. This means CrosstalkTask now operates on an untrimmed image. Previously, crosstalk correction took place later, after CCD assembly (a process which includes trimming the overscan regions), bias correction, and linearization.