skip to main content

gaia data release 4 documentation

11.1 Introduction

11.1.3 Pre-processing

This step begins with a first rejection of outlier CCD transits and continues with a filtering of the measurements of some stars, then finally taking into account the perspective acceleration (Section 11.1.3.3).

11.1.3.1 Filtering and binning

Each transit of a star in the Gaia field results in two-dimensional coordinates with respect to a fixed reference position, close to that of the star: an abscissa along the satellite’s scanning direction, and an ordinate measured on the axis perpendicular to it. Since the along-scan abscissa is much more precise than the ordinate, the latter is not taken into account. The first processing step for astrometric observations is a filtering process.

For users wanting to reprocess the published epoch_astrometry the recipe to reproduce the exact filter is provided between parentheses for each step (when available). A Python library that incorporates all the available filter options is provided here.

  • •

    Only the AF observations are used (to reproduce: only use the centroidPosAl observations and ignore the centroidPosAc observation).

  • •

    All CCD observations having either time, abscissa, abscissa uncertainty, scan angle, parallax factor undefined are rejected (to reproduce: check these fields are finite and not ‘NaN’).

  • •

    Transits having a flag identified as a double detection with low priority (not reproducible), a blended observation (to reproduce: blended is false ) or yielding peak (not reproducible: flag not published) are rejected; multi-peak are flagged only (to reproduce: see multipeak).

  • •

    Calibration Faint Star (CFS, Table 1.1) observations are rejected (to reproduce: g_class >1 or g_mag ≤13.3).

  • •

    Observations made during the early Ecliptic Pole Scanning Law (EPSL) phase are not used (to reproduce see ‘TransitObmtFilter’ below).

A sequence of filters and per-transit binning is then applied, leading to the transit positions of the source to which an optional perspective acceleration correction can be applied (see Section 11.1.3.3). This sequence is named either ‘original run filter’ or ‘supplementary run filter’, where the two only differ by the applied ‘AstroFlagFilter’ 3(b) and 3(a), respectively, as detailed below. The naming of related output tables is discussed in Section 11.1.3.4.

  1. 1.

    TransitYieldingPeakFilter: this filter removes all astrometric data for transits where the ‘containsYieldingPeak’ flag is true (not reproducible: flag not published).

  2. 2.

    TransitObmtFilter: all observations made before OBMT 34312712497959428 (29 November 2014, at 23:33:20 TCB) are removed (to reproduce: select only observations with obs_time_tcb >154999999999813535). Note that this is removing a few more months than only the EPSL phase.

  3. 3.

    AstroFlagFilter: observations are cleaned based on their processing flags (‘aeCcdProcFlags’). This strict filter accepts flags 0 and 8192 by default for all AF1 to AF9 observations, where the 8192 flag is predominantly set for AF1 observations:

    1. (a)

      Stars brighter than about G ∼6 are predominantly observed with gate 4, for which the vast majority of observations have neither of the aforementioned two flags and thus would be completely filtered out. To recover the vast majority of observations for these bright stars we accept additional flags 9024 and 9040 for AF1, and 832 for AF2–AF9, for gate 4 observations. This set of flag filters (including the default 0 and 8192 flags for all gates) is part of the ‘supplementary run filter’;

    2. (b)

      The original run was intended to apply the above gate 4 filters to allow bright star observations to be accepted. Due to a configuration error the intended additional flags (9024 and 9040 for AF1, and 832 for AF2-9) were applied to gate 0 instead of gate 4. This effectively caused the sources brighter than G ∼6 to be filtered out, and some additional observations to be accepted in the ‘faint-star’ gate 0 (roughly starting around G ∼12). Though for the vast majority of sources the latter added none, or perhaps one or two additional observations (mainly constrained to the G 11–13 range), it did pass significantly more observations for a small fraction of sources, causing their solutions to alter significantly. This set of flag filters (including the default 0 and 8192 flags for all gates) is part of the ‘original run filter’.

  4. 4.

    AstroTransitSigmaClipping: a sigma-clipping algorithm is applied to remove outliers within a transit. It requires a minimum of 5 valid CCD observations per transit prior to filtering, and at least 5 remaining observations after filtering (otherwise, the entire transit is rejected). Observations deviating by more than 3⁢σ from the R1 median are rejected, where σ is estimated by a MAD (Median Absolute Deviation), assuming a normal error distribution.

  5. 5.

    TransitTooCloseObmtFilter: pairs of astrometric transits that are temporally too close to each other are removed. It ensures that the delay between two transits is not less than the expected temporal separation between the two fields of view (FoV1 and FoV2), with a tolerance margin of about 6 minutes (0.1 h). If two transits are too close, both are removed.

  6. 6.

    AstroTransitWeightedMean: the weighted mean of the CCD observations is computed (binning). In this specific configuration, across-scan observations are excluded from the calculation. Noting wi=1σAL⁢i2 and WAL=∑i=1Nwi, the transit position is x¯AL=∑i=1Nwi⁢xAL⁢iWAL with associated uncertainty σx¯AL=∑i=1N(wi2⋅σAL⁢i2)WAL2. The mean transit time is t¯=∑i=1Nwi⁢tiWAL and the scan position angle is estimated with S=∑i=1Nwi⁢sin⁡(θi), C=∑i=1Nwi⁢cos⁡(θi), θ¯=atan2⁢(S,C).

At the end of this sequence, the TUWE (Transit Unit-Weight Error, Section 11.1.3.2) is computed (to be optionally used).

11.1.3.2 TUWE

As mentioned above, astrometric or resolved binaries were processed on a per-transit basis rather than per CCD. This binning reduced the computing time by a factor of approximately eight and brought the actual degrees of freedom of the solutions closer to the expected values.

However, computing a transit along-scan centroid via a weighting scheme assumes that CCD-level position dispersions arise solely from random errors; in practice, there may be an additional dispersion caused by other effects such as chromaticity (not yet handled in NSS processing).

Without intervention, the goodness-of-fit would be higher than expected, and the estimated astrometric_jitter would be misleading, as it would capture a mix of calibration errors, correlations, and useful information such as inadequate models or outliers.

Consequently, it was decided to correct when needed the transit position uncertainty to account for this effect. Due to external constraints, this correction had to be performed using the source data itself, independently of external calibrations and, preferably, of any specific astrometric model.

What was adopted was the re-weighting of the transit uncertainty by a transit unit-weight error (TUWE) multiplicative factor through the following process: for each CCD i of each transit j, we note ηi⁢j the along-scan centroid CCD and σi⁢j its formal uncertainty; with ⟨ηj⟩ the weighted average per transit, the normalized residuals of the along-scan centroids ti⁢j=(ηi⁢j−⟨ηj⟩)/σi⁢j are computed for all non-rejected CCD observations. These residuals should approximately have absorbed the astrometric motion, and be Gaussian noise only plus CCD variations if any.

Rather than using ∑i⁢jti⁢j2/ν, with ν the degrees of freedom, the unit weight error TUWE has been estimated with a more robust Median Absolute Deviation (MAD) of the ti⁢j. To compensate for the fact that the residuals are calculated relative to a mean derived from this exact same sample, a corrective factor F=NN−1 is applied for a transit containing N observations.

Applied on a test sample, the TUWE is, as expected, a statistical value with mode ≈1. It has a 0.05 dispersion and a long positive tail that starts above ≈1.1 and that occurs mostly from blue stars and around G≈11.5.

Consequently this multiplicative factor has been applied on σi⁢j when larger than 1.1 only. For astrometric binaries (Section 11.2 and Section 11.3), about 2.5 % have been corrected, with a 1.15 median correction factor.

11.1.3.3 Perspective acceleration

The perspective acceleration is the only perspective effect that should be taken into account, since the effects due to the change of orbit orientation are negligible for Gaia (Halbwachs 2009). The perspective acceleration depends on the trigonometric parallax, the proper motion and the radial velocity (Dravins et al. 1999; Lindegren and Dravins 2003). The latter has been measured by the RVS spectroscopic processing pipeline (see Chapter 6), and the astrometric parameters are known with sufficient accuracy from the Gaia DR3 solution.

The radial velocity, RV, and the parallax, ϖ, of the star are used to derive the radial proper motion, μr, through the following equation:

μr=RV⁢ϖ×24⁢π×yeardays180×aum (11.1)

where RV is in  km⁢s−1, ϖ is in mas, yeardays is the duration of the year in days, and aum is the length of the astronomical unit in metres.

The quantity that must be added to the along-scan abscissa of a star w to free it from perspective acceleration is then:

Δ⁢w=μr⁢t×(fϖ⁢ϖ+fμα⁣*⁢μα⁣*+fμδ⁢μδ) (11.2)

where t is the epoch in years, measured from the reference epoch J2017.5, which is approximately the middle of the Gaia DR4 mission; fϖ, fμα⁣* and fμδ are the partial derivatives of w with respect to the parallax and to the proper motion coordinates.

This correction has been made for all stars with ϖ>5 mas, since the effects of perspective acceleration are negligible beyond 200 pc.

After this correction, the transits are ready for the calculation of the solutions. This will only be done when the number of visibility periods (VP) is higher than the number of model parameters. Therefore, the number of CCD transits is always very high, since each VP can have several Field-of-View (FoV) transits, and each FoV transit has up to 9 CCD transits.

11.1.3.4 Epoch flags issue

During validation of the main NSS processing, it was found that astrometric solutions of very bright binaries (resolved and unresolved) (G <5.5) were missing. This was found to be related to the flag filtering in the pre-processing of epoch data described in Section 11.1.3.1. This issue actually provides a useful example of the importance of the filtering.

Results produced by the original run filters are found in the nominally named tables, while additional results produced using the supplementary run filters (for sources that produced different results) are stored in archive tables with suffix ‘_supp’, i.e., nss_two_body_orbit_supp, nss_acceleration_astro_supp, nss_multiple_orbits_supp, nss_resolved_pair_supp, and nss_masses_supp. Astrometric results in these supplementary tables supersede those in the main tables. For more details see Arenou (2026); Sahlmann et al. (2026); Dsilva et al. (2026).