TOI-2120, the demonstration case
An M dwarf observed with SPIRou: 321 exposures over 452 days, a barycentric velocity sweeping 37.9 km/s, and deep water bands crossing the stellar lines. It is the case the method was built for, and it shows what the method can do when the geometry is favourable.
| Series | rms (m/s) | MAD (m/s) | Median error | Reduced \(\chi^2\) |
|---|---|---|---|---|
| Nightly means, on the 80 epochs both series share | ||||
| LBL on the delivered spectra | 47.98 | 34.76 | 3.70 | 158.7 |
| LBL after pca2d-preclean, 1–3 | 14.20 | 11.55 | 4.42 | 9.5 |
| All 316 individual exposures, as the figure below plots them | ||||
| LBL on the delivered spectra | 47.71 | 34.99 | 7.29 | |
| LBL after pca2d-preclean, 1–3 | 18.34 | 14.37 | 7.90 | |
Both series come from the same LBL stage of the same run, so nothing here is one pipeline's numbers compared against another's. The two blocks measure different things and both are given: nightly means average down the photon noise, which is why their error bars are smaller and their reduced \(\chi^2\) larger. The quoted gain and its bootstrap are on the nightly means, paired over the 80 shared epochs, 2000 draws; on the individual exposures the same comparison gives 2.6×.
The velocities themselves
Where it comes from
A second window, to show it is not one lucky band
What the components turned out to be
With one stellar and three Earth components, the rank correlations
against every quantity the headers carry are these. They are the run's
own correlations.csv, not a separate analysis.
| Component | BERV | airmass | seeing | median flux | time | water |
|---|---|---|---|---|---|---|
| \(a_1\) star | −0.389 | −0.183 | −0.603 | +0.395 | −0.192 | −0.057 |
| \(b_1\) Earth | −0.093 | +0.099 | +0.356 | −0.540 | +0.571 | −0.138 |
| \(b_2\) Earth | −0.737 | +0.005 | +0.165 | +0.232 | +0.164 | −0.249 |
| \(b_3\) Earth | −0.248 | −0.032 | +0.051 | −0.185 | +0.805 | −0.073 |
Three things are worth saying plainly about this table, because none of them is what one would have predicted:
- Nothing follows the airmass. The largest airmass correlation anywhere in the table is 0.18, on the stellar component. For a block that is supposed to be capturing the atmosphere, that is not the expected signature, and it says the residual tellurics APERO left behind are no longer airmass-ordered.
- \(b_3\) follows the clock at 0.805, and nothing else. A component that drifts monotonically over 452 days is an instrumental drift, not weather: this is the detector or the wavelength solution ageing, and the fit is removing it.
- \(b_2\) follows the BERV at −0.737 while being flat in airmass. That is not a water column. It is the signature of something whose apparent amplitude depends on how far the stellar spectrum has slid past it: the residual of an imperfect separation between the two frames, which the fit absorbs into the observer block. It is doing useful work there, and it is also the component to watch, since a BERV-ordered term is exactly what one must not accidentally remove from a velocity.
The stellar component's strongest partner is the seeing, at −0.603, with the median flux at +0.395: \(a_1\) is largely tracking how much light went down the fibre, which is a line-shape effect rather than a photospheric one. On a star where activity mattered more, one would expect this row to look different.
Where it pays: faint targets
Five campaigns across two spectrographs, each measured before and after on the epochs the two series share. The gain is ordered by the SNR of the individual exposures, and ordered perfectly:
| Star | Instrument | SNR | Epochs | rms in | rms out | Gain |
|---|---|---|---|---|---|---|
| TOI-2120 | SPIRou | 33 | 80 | 47.98 | 14.20 | 3.38× |
| TOI-1452 | NIRPS | 38 | 51 | 101.43 | 69.37 | 1.46× |
| GJ 328 | NIRPS | 181 | 46 | 9.34 | 9.03 | 1.03× |
| GJ 1 | NIRPS | 233 | 140 | 2.54 | 2.56 | 0.99× |
| Proxima | NIRPS | 287 | 250 | 2.96 | 3.29 | 0.90× |
Faint targets gain; bright ones do not. On a photon-starved spectrum the contamination is comparable to the noise and worth removing. On a bright one it is already below the noise, and fitting it costs more than it returns: Proxima comes out 10 % worse.
Three HARPS campaigns, three ways
TOI-2120 is the favourable case. The harder test is the optical, where the tellurics have already been cleaned once and what is left is a residual of a residual. Each star below is measured three ways on the same exposures, in a single instrument mode, with the same frozen version of the code.
| Star | Pipeline | rms (m/s) | MAD (m/s) | Error bar |
|---|---|---|---|---|
| HD 10700 G8V, 86 epochs |
ESO DRS, CCF | 2.16 | 1.69 | 0.34 |
| LBL, telluric-cleaned | 2.19 | 1.75 | 0.38 | |
| + pca2d-preclean | 2.07 | 1.57 | 0.49 | |
| HD 69830 K0V, 150 epochs |
ESO DRS, CCF | 3.71 | 3.57 | 0.34 |
| LBL, telluric-cleaned | 3.73 | 3.49 | 0.36 | |
| + pca2d-preclean | 3.50 | 3.29 | 0.50 | |
| GJ 581 M3V, 116 epochs |
ESO DRS, CCF | 9.83 | 11.68 | 1.37 |
| LBL, telluric-cleaned | 9.62 | 12.06 | 0.84 | |
| + pca2d-preclean | 9.06 | 10.76 | 0.91 |
GJ 581's CCF row excludes three exposures where the DRS fails outright, returning −591 to −655 m/s where LBL finds −3 to +12; with those three the CCF rms is 97.8 m/s. pca2d-preclean is the only one of the three pipelines to beat the CCF on all three stars, and the gain is concentrated in the tails: it straightens the worst exposures more than it improves the median one, which is why the MAD moves less than the rms.
When it does not help
The separation of the two blocks rests entirely on the star moving relative to the sky. Take that away and the fit has no information to work with, and a fit with no information still returns an answer.
Two slices of the same campaign, identical in every other respect. A campaign observed over a narrow range of barycentric velocity should not be precleaned this way, and the run's own report plots the BERV coverage on its first pages so that the question is asked before the answer is believed.
How these numbers were produced
- One code version per comparison. Every star in a comparison runs on the same commit, frozen before the first run and recorded in the output. If a fix lands mid-campaign, everything is redone, even when the fix is provably cosmetic, because traceability is the point, not numerical equivalence.
- One instrument mode per star. The mode with the most epochs, never a mixture.
- Paired comparisons only. The same exposures on both sides, matched by timestamp; an epoch missing from either series is dropped from both.
- Robust statistics beside the plain ones. rms and MAD = 1.4826 × median absolute deviation, always both, because a correction that fixes the tails and a correction that fixes the core are different things.
Every run writes its resolved configuration, its component counts, its LBL version and a PDF report of around thirty pages beside its outputs, so any number on this page can be traced back to the run that produced it.