5.3.2 Background calibration
Author(s): Giorgia Busso
The background signal on the Gaia CCDs collects the contribution of a few components, of different origin:
-
1.
the ‘canonical’ diffuse astrophysical background;
-
2.
straylight from different sources, mostly the Sun but also bright stars, as explained below;
-
3.
two components, related to the CCD electronics, i.e., the dark current signal (dealt with separately) and the charge release (not yet corrected for).
The biggest contribution to the background signal is the straylight, which dominates the other components by a factor which depends not only on the CCD but also on the position inside the same CCD, as evident in Figure 5.7. The worst case is for BP row 7 where the straylight can reach values of 27 e pixel s, i.e., more than 100 times the average sky background level of 0.2 e pixel s. See Section 5.3.2.1 for more details on the straylight correction. The straylight maps however do not correct perfectly for small spatial features, as some peaks have a size that is smaller than the map resolution, or and some transient events may be smoothed out by the fact that observations from two revolutions are averaged to generate each map. For this reason, an additional correction was applied to the residuals of the straylight in order to obtain a better local background representation (see Section 5.3.2.2).
5.3.2.1 Straylight mitigation
The majority of the straylight is caused by the Sun and the strength of this effect depends on the position of the Sun with respect to the satellite. It shows a periodicity corresponding to the satellite spin phase, and a slow evolution in amplitude with the orbital solar distance. Other contributions are in phase with the scanning law, showing contributions from the ecliptic and Galactic planes.
As discrete map was used to model the straylight. This was obtained by accumulating observations in two revolutions with distance from the charge injection higher than 100 TDI lines (to avoid the charge release component). Two types of observations are used for this: Virtual Objects (VO, i.e., empty windows acquired for calibration purposes), and science windows for faint stars. For the first one, all samples are used for the background determination. For the second, only the window edges are used, to avoid contamination by the star spectrum. For every transit, the median value on the available samples is computed, to avoid the accidental contribution of cosmic rays, and also the AC coordinate and the heliotropic spin phase are calculated. See Figure 4.6 for the definition of heliotropic spin phase.
The addition of science windows allows a better temporal and spatial resolution for the maps, in comparison with Gaia DR2 when only the VOs were used. The map is built on a grid of 720 bins in the spin direction (one bin is 0.5) and 500 bins in the AC direction (one bin is 4 pixels, corresponding to ). A median of all transits belonging to the same bin is adopted as final value to mitigate outliers. The time validity for a map is 2 revolutions, allowing a better characterization of transient events. Examples of straylight maps are shown in Figure 5.7.


Occasional empty bins are filled by interpolation. The completed map is then used to build a bicubic spline interpolator which, given the heliotropic spin phase and the AC coordinate of the transit to be corrected, computes the background value in e pixel s. This value is converted to the appropriate one, depending on the window sampling (1D or 2D), and then subtracted from the transit spectrum.
5.3.2.2 Local background determination
As mentioned in the previous section, the straylight maps are not able to reproduce instantaneous features, such as the narrowest straylight features, spikes from very bright stars or ‘squared’ diffraction patterns. For this reason it was decided to add an additional correction, using a k-nearest neighbours (KNN) algorithm on the residuals of the straylight maps, i.e., the same data used to build the straylight maps, but with the estimated straylight subtracted. If the straylight map is able to reproduce the correct background value, the residuals should be centred around zero. If there is instead some residual background, the KNN will be able to estimate it. Hence, for every transit, the closest 30 residual values were collected and their median was calculated. The value is a compromise between having a robust estimate and a background value calculated on the smallest possible area. Figure 5.8 shows some examples.


5.3.2.3 Wing correction
As explained in Section 5.3.2.1, science windows for faint sources are used alongside VO windows for the modelling of the straylight, under the assumption that the first and last macro-samples of the window (the spectral wings) carry no flux from the target source. However, this assumption has been shown to be incorrect: the wings still contain residual target-source flux, causing an overestimate of the background. To characterize this, each faint science window was paired with its nearest virtual object (source-free by construction) that provided an independent local background estimate. The difference between the two is the estimated wing flux from the target source. Its ratio to the mean (internally calibrated) source flux depends on field of view, CCD row, strip, time, AC position, and source colour, reflecting the evolving instrument response.
In Gaia DR4, the wing correction is built empirically by computing the median residual source flux level between faint science windows and the nearest VO, and it is then applied to all background measurements contributing to the straylight maps and the local background determination (see previous sections). For more details, see Busso et al. (2026).