Write the image operation in its actual order
Let each detector frame be a list of pixel counts. The reference is the mean of all eighteen frames, including the current one. Subtract this same mean from each frame. Then rotate every residual back to the sky orientation and average the rotated images. Subtracting after sky alignment would instead put the companion into the same reference pixels and remove it almost completely.
Use a signed rotation operator that samples detector coordinates at the rotated sky position. Interpolation is part of that operator. A mathematical rotation preserves flux in continuous space, but a finite sampled camera also has interpolation and edge losses; the injection passes through those numerical operations too.
Reading: Marois et al. · Soummer
First inspect the zero-rotation limit
When every rotation is the identity, the final mean of the mean-subtracted images is zero. This is true for a changing halo, a companion and noise. The signed image can contain frame-by-frame residuals, but their average cancels. A nonzero stationary companion cannot be recovered from that coadded mean-ADI image.
With a small rotation, the source shifts slightly between frames. Its positive core overlaps much of its negative reference imprint. The motion on the camera is the chord of a circle: twice the separation times the sine of half the angle. This geometric displacement sets the scale for how well the source separates from itself.
Reading: Marois et al.
Derive a response that can be checked without the optical code
Replace the source PSF with a circular Gaussian of standard deviation sigma. For two exposures, the mean reference contains half of each source image. After subtraction, each source therefore has a positive half and a displaced negative half. Measure the result with a matched filter: multiply it by the centered Gaussian and integrate over the image.
The overlap of two equal Gaussians separated by a distance is an exponential. Completing the square in their product gives the exponent below. Divide the processed projection by the unprocessed Gaussian power to obtain the recovered amplitude.
The factor of one half matters. A leave-one-out reference made entirely from the other frame gives twice this response. Naming a method ADI does not specify which reference convention it used. The numerical check here integrates the two Gaussians on an independent dense grid, so it can catch a reference-normalization error.
Reading: Marois et al. · Pueyo
Work through two saved observations
The default source is five reference angular units from the star. Fifty degrees of rotation move it by 4.23 reference units across the endpoints. With the same source and only three degrees of rotation, that displacement falls to 0.262 units. The input brightness has not changed; the reference sees a much more stationary source.
The table uses the saved synthetic seed 22022, five finite bands and eighteen exposures from the preceding chapter. The middle-band entrance contrast is 0.00124. The processed aperture response is the ratio of its calibrated derivative to the aperture measurement with subtraction disabled. It includes the implemented interpolation. The spectrum uncertainty also includes estimated source photon noise. This fixed low-rotation realization lies several conditional standard errors from the input; repeated acquisitions test how those bars behave.
| Synthetic sequence | Middle-band response | Extracted contrast | Conditional standard error |
|---|---|---|---|
| Fifty-degree rotation | 0.685 | 0.001240 | 0.00000750 |
| Three-degree rotation | 0.0159 | 0.001401 | 0.0000616 |
| Source near mask edge | 0.506 | 0.001226 | 0.0000310 |
Reading: Marois et al. · Pueyo
Resizing wavelengths introduces a second kind of motion
A diffraction speckle tends to move radially with wavelength. To align such structure, resize every channel to a reference wavelength before subtracting a spectral mean. A sky companion stays at a fixed angular separation in the original camera, so this resizing moves it instead. This is spectral differential imaging, or SDI.
Flux conservation supplies the area factor. If an image is expanded by a scale factor, the same photons cover its square in area. The resized count density is the old image sampled at the inverse coordinate and divided by the square of the scale. Applying a geometric resize without that factor changes a source spectrum even before subtraction.
The default source moves from about 5.44 to 4.63 reference units between the resized endpoints of the five-channel set. Its images still overlap substantially. A source injected into one band now enters the common spectral reference, so several output bands change.
Reading: Greco & Brandt · Pueyo
Measure the complete response and check its range
Inject one channel at a time before resizing or making a reference. Repeat the whole processing with small positive and negative increments and measure the difference in every output channel. Each experiment supplies one column of the response matrix. The diagonal describes direct response; off-diagonal entries describe spectral mixing.
For the saved ADI-plus-SDI sequence, the first normalized response column is approximately 0.130, minus 0.0284, minus 0.0230, minus 0.0158 and minus 0.0103. Those numbers are output electrons per unit contrast divided by the stellar entrance count. Dividing each recovered band by its own diagonal response would leave the negative contributions from all the other bands uncorrected.
Mean subtraction and fixed interpolation are linear. KLIP learns principal image patterns from the reference data and removes a chosen number of them. A source changes both the direct image and those learned patterns. Full finite injections recompute the patterns. Comparing different injection amplitudes then tests how far a local derivative can describe the nonlinear reduction.
Reading: Soummer · Pueyo · Greco & Brandt