Lesson 2 of 4 · Signal loss in nuisance correction
Measure what detrending removes
18 minute lesson · 3 checks along the way
Your goal for this lessonCalculate how fitting a nuisance template alone absorbs a correlated stellar contribution in a fictional brightness series.
In this lesson 3 sections · 3 checks
Read & understand
Declare two templates and their units
Use four fictional samples, numbered 0 through 3. The stellar template is u = (−1, 0, 1, 0), and the instrumental template is v = (−1, −1, 1, 1). Both are dimensionless and have zero mean. Let the brightness deviation be y = a u + b v, with amplitudes a and b in parts per million, or ppm. Taking a = 3 ppm and b = 2 ppm gives y = (−5, −2, 5, 2) ppm.
These four numbers are not an observed CoRoT light curve. The templates are assumed known in this exercise; real stellar variability and instrumental effects are not usually supplied as exact vectors. Because both columns are centered, an independently fitted constant offset is zero for this exact example. On a changed set of samples, check that condition again instead of silently carrying it over.
Check 1 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Fit the nuisance pattern to the mixed record
Define a dot product as the sum of products at corresponding samples. Here u·u = 2, u·v = 2 and v·v = 4. The nonzero cross-product means the templates overlap. If we fit only v by unweighted least squares, its coefficient is b̂ = (v·y)/(v·v). Since v·y = 14 ppm, the fitted coefficient is 3.5 ppm, even though the invented instrumental amplitude was only 2 ppm.
The extra 1.5 ppm comes from the stellar contribution projecting onto v. Subtracting 3.5 v leaves r = (−1.5, 1.5, 1.5, −1.5) ppm. This residual is orthogonal to v: their dot product is zero. That mathematical success says the chosen nuisance pattern has been removed. It does not say that every removed component was instrumental or that the surviving curve retains the original stellar amplitude.
Correction changes the four samples
Invented centered templates u = (−1, 0, 1, 0), v = (−1, −1, 1, 1) and y = 3u + 2v. Green circles and gold outlined squares share one vertical scale. Subtracting the fitted 3.5v also removes some genuine signal. No interpolation between samples is implied.
Open full-size diagram in a new tab: Correction changes the four samplesRead diagram data as a table
| Sample | Stellar u | Instrumental v | Observed y (ppm) | Corrected r (ppm) | Corrected stellar template |
|---|---|---|---|---|---|
| 0 | -1 | -1 | -5 | -3/2 | -1/2 |
| 1 | 0 | -1 | -2 | 3/2 | 1/2 |
| 2 | 1 | 1 | 5 | 3/2 | 1/2 |
| 3 | 0 | 1 | 2 | -3/2 | -1/2 |
Invented centered templates u = (−1, 0, 1, 0), v = (−1, −1, 1, 1) and y = 3u + 2v. Green circles and gold outlined squares share one vertical scale. Subtracting the fitted 3.5v also removes some genuine signal. No interpolation between samples is implied.
Check 2 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Measure the signal that remains
Now fit the original stellar template u to the corrected residual. Its amplitude is (u·r)/(u·u) = 3/2 = 1.5 ppm, half the original 3 ppm. More generally, for these same templates the sequential procedure returns a/2 and assigns b + a/2 to the nuisance coefficient. Increasing the arithmetic precision cannot repair this loss: it is built into the fitting procedure.
The issue is not that all sequential calculations are invalid. It is that we corrected the observations and then compared them with an uncorrected template. If the templates were orthogonal, this particular loss would vanish. With overlap, either fit both contributions together or consistently account for what the correction does to the signal template. A correlation with engineering information is useful evidence, but it does not by itself prove that the correlated brightness variation is entirely instrumental.
Check 3 of 3
10 pointsUse the reading above. You can try again without losing points.
Put it together
Your lesson progress
Each check connects to a part of the story. Complete all 3 to earn your 25-point lesson bonus.
Explore further · Optional
Go to the source
Explore the evidence behind this lesson. These optional readings and videos open in a new tab.