6.2.1 Input data from the upstream processing
The input data to the spectroscopic pipeline were pre-processed by the upstream Initial Data Treatment (IDT), described in Section 3.4.2.1, where the telemetry information (Section 1.1.3.13) is reconstructed into several data types. The data used by the spectroscopic pipeline are: SpectroObservation (Section 3.4.3), which contains the three CCD spectra acquired during the transit, along with various observation-related information (such as the on-board magnitude, window size, position, and truncation); ObjectLogRvs and ObjectLogRvsRotSmear, which contain the detection features including the satellite’s solar rotation phase; AcShift; PreScan; and
SpectroObservationVo, which contains the spectra of the Virtual Objects (empty windows acquired for calibration purposes).
In addition to the IDT data, other input data are produced by the upstream astrometric processing described in Chapter 4. These include a preliminary version of the AGIS source positions (version 4.1), the OGA3 attitude model, the CorrectiveOga3 data (Section 4.3.4), the IDU4 crossmatch table (Section 3.4.15), and the list of spurious detection transits (Section 3.4.15.3). The Gaia ephemeris (Section 4.2.3) and the solar system ephemerides (Section 4.2.1) are also required.
The stellar atmospheric parameters from Gaia DR3, computed with the Apsis pipeline (see Creevey et al. (2023) and Section 16.3 for a description), as well as the and magnitudes from Gaia DR3 (De Angeli et al. (2023)), were also used as input, via the DPAC internal data models CompleteAtmosphericParams (version 3.8) and CompleteSource (version 4.2), respectively. The file ExtPhotSystem, produced by the photometric processing (Section 5.4.2) and containing the and zero-points, is also provided as input.
For Gaia DR4, for the first time, there is a new input to the final step of the pipeline, STAMTA (Section 6.4.6). This consists of orbital models for a list of assumed astrometric binaries, produced by a dedicated run of a preliminary version of the Non-Single Stars (NSS) pipeline (see Chapter 11 for a description of the NSS pipeline).
The quality of the CU6 products is influenced by the quality of the input data, particularly by the quality of AGIS, OGA3, and the atmospheric parameters. AGIS positions and OGA3 are used in the wavelength calibration, and any significant systematic errors can affect the epoch radial velocities radial_velocity (though such errors generally impact only a few transits and do not significantly affect the mean radial velocity fields). The atmospheric parameters are used to select the synthetic template spectrum that is compared to the star’s spectrum to derive radial and broadening velocities. Inappropriate atmospheric parameters result in template mismatches that affect all of a star’s transits and may lead to spurious radial velocities.
6.2.1.1 Trending epochs and bad-data intervals
The events that produce a discontinuity in the wavelength calibration zero-point are defined as breakpoints. These breakpoints are used to divide the Gaia DR4 dataset into Trending Epochs. In the Gaia DR4 dataset, which includes data acquired between 25 July 2014 (OBMT 1078.38; see Section 1.3.1 for the definition of OBMT) and 20 January 2020 (OBMT 9100.3), 25 breakpoints have been defined, resulting in 26 Trending Epochs, as shown in Table 6.10.
Some breakpoints correspond to known physical events, such as: OBMT 1317.0, 2330.6, and 4112.7, corresponding to decontaminations (Section 1.3.4.4); OBMT 1443.9 and 2574.5, due to refocusing events; OBMT 5263.70 and 6295.0, associated with Safe Mode events (Section 1.3.4.1); OBMT 1192.13, marking the EPSL/NSL transition; and OBMT 8345.81, when Gaia’s precession direction was reversed (see Section 1.3.2 for the scanning laws used in Gaia DR4).
In addition to these physical breakpoints, 12 further breakpoints are related to discontinuities in OGA3, caused by apparent jumps in the basic-angle (BA) of the telescopes (see Section 1.3.4.5)). Some of these breakpoints may disappear in Gaia DR5 with an improved AGIS solution.
| Name | Start (rev) | End (rev) | Breakpoint End Event | Duration (rev) |
|---|---|---|---|---|
| TE0 | 1078.38 | 1192.13 | Transition to NSL | 113.75 |
| TE1 | 1192.13 | 1317.00 | Decontamination | 124.87 |
| TE2 | 1317.00 | 1443.90 | Refocus | 126.90 |
| TE3A | 1443.90 | 1892.07 | BA Jump | 448.17 |
| TE3B | 1892.07 | 2330.62 | Decontamination | 438.55 |
| TE4A | 2330.62 | 2449.64 | BA Jump | 119.02 |
| TE4B | 2449.64 | 2574.65 | Refocus | 125.01 |
| TE5A | 2574.65 | 2717.03 | BA Jump | 142.38 |
| TE5B | 2717.03 | 3254.13 | BA Jump | 537.10 |
| TE5C | 3254.13 | 3904.14 | BA Jump | 650.01 |
| TE5D | 3904.14 | 4112.77 | Decontamination | 208.63 |
| TE6A | 4112.77 | 4320.23 | BA jump | 207.46 |
| TE6B | 4320.23 | 4666.39 | BA jump | 346.16 |
| TE6C | 4666.39 | 5085.45 | BA jump | 419.06 |
| TE6D | 5085.45 | 5128.86 | BA jump | 43.41 |
| TE6E | 5128.86 | 5227.83 | BA jump | 98.97 |
| TE6F | 5227.83 | 5263.70 | Safe Mode | 35.87 |
| TE7A | 5263.70 | 5330.74 | BA jump | 67.05 |
| TE7B | 5330.74 | 5406.21 | Refocus | 75.47 |
| TE8 | 5406.21 | 6295.00 | Safe Mode | 888.79 |
| TE9 | 6295.00 | 6771.34 | VPU7 switch off | 476.34 |
| TE10 | 6771.34 | 7447.70 | Refocus | 676.36 |
| TE11 | 7447.70 | 7930.82 | PDHU event | 483.12 |
| TE12 | 7930.82 | 8345.81 | Precession reversion | 414.99 |
| TE13A | 8345.81 | 8627.92 | BA jump | 282.11 |
| TE13B | 8627.92 | 9100.30 | End segment 6 | 472.37 |
The effective time covered by the trending epochs is reduced compared to the durations listed in Table 6.10, due to the exclusion of data segments known to be of poor quality, referred as bad-data intervals. In particular, the effective durations of TE2, TE4A, and TE6A are significantly shortened due to extended bad-data intervals caused by payload cool-down periods following decontaminations. The duration of TE9 is also notably reduced, as Gaia entered safe mode following the failure of the nominal transponder, which was recovered approximately ten days later by switching to the redundant unit. The total time covered by the bad-data intervals is approximately 7.6% of the total observing time.
The bad-data intervals used by the RVS pipeline are published in the table gaia_gap, alongside those used by the Astrometric and Photometric pipelines. The RVS bad-data intervals include periods corresponding to decontaminations, refocusing events, the commissioning of new versions of the on-board VPU (Section 1.3.4.6), intervals with high AGIS residuals, and gaps in the ObjectLogs. The reason for each RVS bad-data interval is documented in the reason field of the gaia_gap table. Bad-data intervals arising from different causes may overlap; the longest gaps are associated with decontamination events and safe mode periods.
6.2.1.2 Filters applied
The filters applied to the input data and during the Pre-processing phase of the pipeline are of two types: source-level and transit-level. Source-level filters remove all transits of a given source, while transit-level filters remove only the specific transits affected.
All RVS spectra (SpectroObservation) of sources with magnitude external_apparent_grvs are excluded from the input and do not enter the RVS pipeline.
For each transit spectrum (SpectroObservation) entering the pipeline, a record is created, following the datamodel of the rvs_transit_description table. For spectra excluded during pipeline processing, the invalid flag in that record is set to true, and the reason for exclusion is provided in the field ccd_invalid_reason.
The following filters are applied:
-
•
Poor or missing AGIS coordinates: Good astrometric positions from AGIS are essential for wavelength calibration and radial velocity estimation. A source is excluded if: 1) coordinates are not from AGIS 4.1 or AGIS failed to converge; 2) the source is marked as duplicated by AGIS; 3) fewer than five observations were used by AGIS. This is a source-level filter applied during the SourceInit pipeline. All transits of the source are removed. No rvs_transit_description is created for these cases.
-
•
Bad field angles: Spectra with along-scan field angle uncertainty greater than 200 mas are filtered out. This is a transit-level filter applied in Pre-processing. The affected transit is removed, with only the rvs_transit_description retained, marked as invalid with invalid set to true and ccd_invalid_reason set to 10.
-
•
Bad data intervals: Spectra acquired during bad-data intervals, as listed in the table gaia_gap (Section 6.2.1.1), are excluded. This is a transit-level filter applied during Pre-processing. The affected transit is removed, with only the rvs_transit_description retained, marked as invalid with invalid set to true and ccd_invalid_reason set to 1.
-
•
Magnitude filters (external_apparent_grvs). The input data are filtered depending on the specific pipeline (Figure 6.1):
-
–
In the Scatter pipeline, only the borders of spectra from faint sources are used. Sources with external_apparent_grvs are excluded. No rvs_transit_description is created for these cases.
-
–
In the Calibration pipeline, only bright sources are used. Sources with external_apparent_grvs are excluded. No rvs_transit_description is created.
-
–
In the FullExtraction pipeline, sources with external_apparent_grvs are excluded. No rvs_transit_description is created.
-
–
-
•
Truncated windows: Filtering of truncated windows also depends on the pipeline:
-
–
In the Scatter pipeline, all truncated windows, as well as rectangular windows with AC size , are excluded to avoid blends.
-
–
In the Calibration pipeline, truncated windows are excluded, but rectangular-truncated windows are retained to allow re-blending.
-
–
In the FullExtraction pipeline, where spectra are deblended, no filtering is applied to truncated windows.
-
–