3.3.5 Point and Line Spread Function models
Author(s): Nicholas Rowell, Michael Davidson, Lennart Lindegren
The combination of 2D and 1D (AL) observations made by Gaia necessitates the modelling and calibration of both the 2D Point Spread Function (PSF) and 1D Line Spread Function (LSF), referred to collectively as the PLSF. These provide models of the distribution of photoelectrons appropriate for a particular observation, and are the profiles used to determine the image parameters for each window in a maximum-likelihood estimation (see Section 3.3.7.3), specifically the along-scan (AL) image location (observation time), source flux, local background, plus across-scan location in the case of 2D windows. Of these, the observation time is of greatest importance in the astrometric solution, and this is reflected in the higher requirements on the AL locations when compared to the AC locations (Lindegren et al. 2012). Indeed, to increase the signal-to-noise, the majority of windows are binned in the across-scan direction and are observed as 1D profiles, for which the LSF is the appropriate model. The modelling and calibration of the PLSF is among the most challenging tasks in the overall Gaia data processing, due to the complex secondary dependences and the reliance on numerous auxiliary input calibrations, such as the background, CCD health, satellite attitude, geometric instrument calibration and source astrometry, the final three of which are provided by AGIS.
A major advance in the Gaia DR4 PLSF models relative to Gaia EDR3 is the introduction of semi-analytic modelling of numerous effects related to the drift-scan mode of operation, particularly the associated smearing in the AC and (to a lesser extent) AL directions due to the motion of stellar images relative to the transferring charge. This significantly reduces systematic errors in the PLSF models, especially around the – magnitude range. The linear part of the PLSF is now considered to be well understood. However, the observations themselves exhibit several nonlinear effects that depend on the signal level, and which are not yet incorporated into the PLSF models. These include charge transfer inefficiency in both the parallel (pCTI) and serial (sCTI) directions, and the brighter-fatter effect. Discussion of pCTI and sCTI can be found in Section 1.3.5.5 and Section 1.3.5.6, as well as Fabricius et al. (2016); Pagani et al. (2026).
The PLSF models used in Gaia DR4 are comprehensively described in the companion paper Rowell et al. (2026), and will not be repeated here. In this section we present some details of the calibration pipeline that differ from Gaia EDR3, the majority of which is unchanged, and some additional properties of the PLSF models that were omitted from the paper for reasons of brevity.
3.3.5.1 Selection and preparation of calibrating observations
The PLSF is calibrated using a subset of the science observations that contain single, well-measured sources that meet certain criteria. Source locations in the window coordinates are obtained from AGIS, with numerous calibration terms disabled for those features that should be calibrated within the PLSF; this includes, for example, the source colour. This defines the origin of the calibrated PLSF. Windows are selected and prepared for use closely following the same procedure as in Gaia EDR3, which is described in Rowell et al. (2021, section 4.1). A few changes have been made for Gaia DR4. First, the background subtraction uses an improved algorithm described in Section 3.3.4.1. We now reject any windows that contain a saturated sample, since saturation can affect the neighbouring unsaturated samples in complex ways that are not reproduced by the PLSF model. Empirical location estimates for each source are now based on the Tukey biweight rather than centre-of-flux, since the Tukey biweight is less colour-sensitive. The error on each sample is estimated as the combination of readnoise, shot noise in the source counts, background, bias and dark signal; specifically, we no longer add a term to account for the uncertainty in the predicted location, since this was found to down-weight steeper parts of the profile that contain more astrometric information. We have improved the reference PLSF that is used to normalise the samples within each window, as required by the PLSF model, and also to perform a coarse outlier rejection based on the deviation of individual windows from the reference profile. This can identify windows with unmasked cosmic rays, for example. We have introduced a new stage of fine outlier rejection based on the colour-dependent normalisation factor distribution; this can, for example, identify windows containing a source for which the mean colour (used by the calibration) deviates from the colour at the time of the observation. Finally, we have increased the maximum number of 2D windows used within each PSF partial solution from 125 to 500.
3.3.5.2 The PLSF basis components
The LSF and PSF models described in Rowell et al. (2026) are based on sets of orthogonal 1D functions in the AL and AC dimensions, denoted and respectively. These represent the means (, ), first derivatives (, ) and basis components (, ) of the marginalised 1D AL and AC LSFs. Linear combinations of the functions are used in the LSF model, and linear combinations of the (2D) outer products are used in the PSF model. They are derived from idealised simulations of the optical system that closely follow the procedure employed in earlier data releases, and which is described in Lindegren (2009, 2010c). However, some updates have been introduced for Gaia DR4 in order to meet the requirements of the new PLSF models. Specifically, we now need the derivative(s) of the mean with respect to the AL (LSF and PSF) and AC (PSF only) directions to be included in the set of orthogonal basis components. These are used to enforce constraints on the PLSF origin, as explained in Rowell et al. (2026, section 5.1.3). The procedure for generating these is as follows. Briefly, many random realisations of the Gaia wavefront error map are used to generate a large set of discretely sampled monochromatic PSFs of various wavelengths, assuming a Fraunhofer diffraction model of Gaia’s optical system and applying a modulation transfer function to model the four-phase charge transfer, pixel binning and charge diffusion. Note that the smearing effects of AL and AC motion are not included, and are instead applied analytically when fitting to observations; according to the terminology adopted in Rowell et al. (2026) this procedure simulates the instantaneous effective PSF. The monochromatic PSFs are blended to produce a large set of physically plausible polychromatic PSFs for different stellar spectral energy distributions, then marginalised to obtain sets of AL and AC LSFs. These sets are then doubled in size by including the reversed LSFs obtained by reflecting in the AL and AC directions. The mean AL and AC LSFs are then computed, along with the corresponding first derivatives. Each simulated AL and AC LSF is then processed to subtract the mean, and the residuals are then further processed to subtract their projection onto the derivative of the mean via Gram-Schmidt orthogonalisation. A principal components analysis is applied to each set of residuals to determine the basis components for the AL and AC dimensions, resulting in two sets of orthogonal functions that are also orthogonal to the corresponding derivative of the mean. All the 1D functions described so far (the means, first derivatives and principal components) are discretely sampled, and must be interpolated for use in the PLSF model. A bespoke 1D interpolating function was developed for this purpose, and is described in Section 3.3.5.3. This results in the final set of (continuous) and functions. These can be used to model both the LSF and (by forming outer products ) the PSF via appropriately weighted linear combinations, with the amplitude of the derivative of the mean accounting for small shifts in the PLSF origin, and the remaining basis components accounting for variations in the PLSF shape about the mean. Note that the mean is normalised such that the integral is unity, and the derivative of the mean and all the basis components are normalised such that their integrals are zero. This guarantees that the full model is normalised to unity regardless of the linear combination factors (the mean is fixed at 1.0). The first 16 and functions are depicted in Figure 3.12 and Figure 3.13.
These functions are derived from simulations of the optical system that consider a wide range of possible wavefront error maps, and as such they are rather inefficient at modelling the in-flight PLSF, since this depends on the specific wavefront errors in the real optical system. There is also significant variation in the PLSF across the focal plane and between the two telescopes, so that a single set of basis components is suboptimal. It is also important that the mean PLSF is not too far from reality, in order that the derivative of the mean can model small shifts of the PLSF accurately (see Rowell et al. 2026, section 6.3). We therefore precompute fixed linear combinations of the 1D functions and the 2D outer products that are trained on the real Gaia observations, and which provide a reduced set of bases optimised for modelling the true in-flight PLSF. This procedure is described in Lindegren (2010a). We have adapted it slightly for the new PLSF model to ensure that the reduced bases remain orthogonal to the derivative of the mean, once again using Gram-Schmidt orthogonalisation. This step corresponds to equation 21 in Rowell et al. (2026). This procedure results in the two matrices and that define the 1D LSF basis components and 2D PSF basis components with orders via linear combinations of and , respectively, according to
| (3.1) | ||||
For the functions the correct normalisation is maintained by enforcing and , with corresponding to the mean, the derivative of the mean in the AL direction, and corresponding to the basis components. For modelling the LSF, we produce two sets of independent functions tailored to FOV1 and FOV2 and used to model the LSF in each telescope. These are depicted in Figure 3.14.
For the functions the correct normalisation is maintained by enforcing and , with corresponding to the mean, the derivative of the mean in the AL direction, the derivative of the mean in the AC direction, and corresponding to the basis components. For modelling the PSF, we produce twenty sets of independent functions that are tailored to each of the ten CCD strips (SM1 or SM2, followed by AF1-9) in each of the two FOVs. These are depicted in Figure 3.15 and Figure 3.16.
3.3.5.3 Representation of the 1D functions and
In this section we describe the special 1D interpolating function that is used to represent the and functions in the LSF and PSF models.
The simulation procedure described in Section 3.3.5.2 produces 1D functions in the AL and AC dimensions that are discretely sampled. The AL functions span TDI1 at a sampling cadence of 0.125 TDI1, and the AC functions span pixels at a sampling cadence of 0.1205 pixels. The difference is due mostly to the different AL and AC sizes of the entrance pupil and pixels. In order to be physically realistic the interpolating function must extend to infinity in each dimension, and thus needs to extrapolate sensibly beyond the finite range of the discrete samples.
Over the region spanned by the discrete samples we fit a set of S-spline basis functions. The S-spline, denoted was introduced in Lindegren (2003), and has long been used in the modelling of Gaia’s PLSF due to its favourable mathematical properties: it has a shift-invariant sum, which means that the sum of samples spaced one pixel apart is invariant to the sub-pixel location of the sample points, as required by the conservation of flux (although see below). Note that elsewhere in Gaia documentation, mostly internal DPAC technical notes, the S-spline is sometimes referred to as a ‘bi-quartic’ spline; however, that term should be reserved for two-dimensional quartic splines, and may be particularly confusing in the context of PSF modelling. In Prod’homme et al. (2012), the S-spline is referred to as a ‘special quartic spline’. The S-spline is defined according to
| (3.2) |
for , and is non-zero only over . For use as basis functions, a series of S-splines are spaced 0.5 pixels apart. In Figure 3.17 we depict the S-spline centred on zero.
To the S-splines we add two analytic tail functions denoted and that extend beyond the discretely sampled region in the positive and negative directions respectively, and which model the behaviour in the far wings where the profile is expected to drop off as . The analytic tail function was introduced in Lindegren (2009), and we use it in modified form here. has the functional form
| (3.3) |
This is equivalent to equation 14 in Lindegren (2009) with . The negative tail function is obtained by reflection over the origin. The functions that span the AL dimension use the tail function with parameters , , and . The functions that span the AC dimension use the tail function with parameters , , and . These are depicted in Figure 3.18.
Note that the tail functions do not satisfy the shift-invariant sum requirement. However, they make a very small contribution to the model over the range spanned by observations, and are useful mainly for defining the normalisation of the model over all space.
Within the range the interpolating function is the sum of the S-splines and analytic tails, whereas beyond the S-spline part is ignored and the only the tail function contributes. The S-splines themselves extend slightly further than due to the addition of five knots beyond ; this is required in order to reduce artefacts around the transition point (see section 5.1 of Montegriffo 2017, for further discussion). The interpolating function is defined by the number of S-splines and their knot spacing (nominally 0.5 pixels in previous data releases; however, see the remark below), the tail attachment point , and the amplitudes of each S-spline basis function and the two tails. When solving for the amplitudes to fit the function to the sampled data, we constrain the solution so that at the transition points the S-spline part is zero in value and first derivative. This ensures that the total function is continuous in value and first derivative. In Figure 3.19 and Figure 3.20 we depict the interpolation of the discrete samples of one particular AL basis function (, depicted in Figure 3.12) using the bespoke function described in this section.
Note that the tail-only regions are never actually sampled during processing since they are beyond the range of the window, even for significantly off-centre sources.
There is one caveat to point out in this section. In the processing for Gaia DR4 we transformed the S-spline to make it narrower in order to improve the interpolation of higher spatial frequency components, and the knot spacing was reduced from 0.5 to 0.127 TDI1 for the functions and 0.123 pixels for the functions. This had the unintentional side-effect of producing a function that violated the shift-invariant-sum requirement, meaning in practise that when the LSF or PSF model is used to fit an observation, the instrumental flux parameter will depend on the sub-pixel location of the source, thus introducing a bias in the photometry. Extensive tests carried out after the processing indicated that the shift-invariant-sum property is only very weakly violated, and that the effect on the photometry is far below the existing noise floor.
3.3.5.4 Time dependence
The PLSF dependences on source colour, AC position and TDI line number are calibrated empirically by performing partial solutions over independent 1 revolution intervals, as explained in Rowell et al. (2026, section 5.2). The PLSF is also highly time dependent due to varying levels of mirror contamination and changing instrument focus. The time dependence is handled in a different way to the other dependences, and makes use of the running solution methodology used in the Hipparcos data reduction (see van Leeuwen 2007a, appendices C and D). This provides a convenient way to merge successive time-independent calibrations of the PLSF parameters to achieve a solution that evolves smoothly in time. This procedure is virtually unchanged from Gaia EDR3 and is described in Rowell et al. (2021, section 3.4.5). For Gaia DR4 we have doubled the time interval used in the running solution from 0.5 to 1.0 revolutions, mainly to reduce the volume of calibration products since the 0.5 revolution time resolution was found to be unnecessary. We have also introduced additional breakpoints in the calibration to handle discontinuities in the PLSF evolution occurring during the later mission time range processed in Gaia DR4. The full set of breakpoints is listed in Table 3.2.
| OBMT [rev] | UTC [date] | Event | FOV1 | FOV2 |
| 1192.62 | 2014-08-22 | EPSLNSL transition | ✓ | ✓ |
| 1329.00 | 2014-09-26 | Decontamination #4 | ✓ | ✓ |
| 1443.96 | 2014-10-24 | Refocus (FOV2) | ✓ | ✓ |
| 2342.00 | 2015-06-06 | Decontamination #5 | ✓ | ✓ |
| 2574.65 | 2015-08-03 | Refocus (FOV1) | ✓ | |
| 4124.00 | 2016-08-24 | Decontamination #6 | ✓ | ✓ |
| 5270.00 | 2017-06-07 | Safe Mode | ✓ | ✓ |
| 5406.21 | 2017-07-11 | Refocus (both FOV) | ✓ | ✓ |
| 6335.00 | 2018-02-28 | Safe Mode | ✓ | ✓ |
| 7447.70 | 2018-12-03 | Refocus (both FOV) | ✓ | ✓ |
|
included only in the ELSF-4.8 calibration used to produce the Gaia DR4 astrometry; see Section 3.4.11. |
||||