# 5.3.6 External calibration

Author(s): Paolo Montegriffo

After the internal calibration has put all the observations onto a common photometric system and the reference fluxes have been computed for all sources, the external calibration effectively provides a means to relate this to other photometric systems and allows for a physical interpretation of the data. This is done providing a response function and an absolute zero point for each pass band. The strategy adopted for the pass band modelling is based on a forward model approach: a response model whose shape depends on a small number of adjustable parameters is fine tuned till the predicted integrated magnitudes fit with the internally calibrated ones for a set of flux calibrators (the SPSS). The model has been designed to reproduce the nominal response curves when all parameters are set to zero. Two different models have been developed: a basic one where the nominal curve is multiplied by a low order polynomial to model possible large scale differences between actual and nominal response (hereafter the Analytic model), and a second one where the nominal curve is summed up with a linear combination of special basis functions derived with Principal Component Analysis (hereafter PCA) to model residuals with the actual filter curve (hereafter the Hybrid model).

## Nominal Passband Model

The nominal photonic pass band is modelled as the product of the following quantities:

 $R_{Nom}(\lambda)=\left\{\begin{array}[]{l@{\quad}l}T_{0}(\lambda)\rho_{att}(% \lambda)Q(\lambda)\quad&for~{}G\\ \quad\\ T_{0}(\lambda)\rho_{att}(\lambda)Q(\lambda)T_{p}(\lambda)\quad&for~{}XP\end{% array}\right.$ (5.8)

where

1. 1.

$T_{0}(\lambda)$ is the telescope (mirrors) reflectivity;

2. 2.

$\rho_{att}(\lambda)$ is the attenuation due to rugosity (small-scale variations in smoothness of the surface) and molecular contamination of the mirrors;

3. 3.

$Q(\lambda)$ is the CCD QE;

4. 4.

$T_{p}(\lambda)$ is the prism (fused silica) transmittance curve (including filter coating on their surface) for the BP/RP case.

All these quantities were initially measured by Airbus DS during on-ground laboratory test campaigns. However, the filter wavelength cut-ons and cut-offs in the prism transmittance curves change over the focal plane due to uneven thickness of the prism coating producing bandwidth non uniformity: the expected variation is of about 3 nm in the position of the BP cut-off and of about 2 nm in the position of the RP cut-on (hereafter for convenience only the generic term cut-off will be used for both instruments). Moreover, combining measurements taken all over the focal plane should result in a mean instrument passband with smeared cut-offs. To properly take into account these effects the prism transmittance curve is modelled as follows:

 $T_{p}(\lambda)=T_{p}^{\dagger}(\lambda)\times R_{cut}(\lambda;\mu,\sigma)$ (5.9)

where $T_{p}^{\dagger}(\lambda)$ is the tabulated transmittance curve provided by Airbus DS truncated right before and after the cut-off wavelength for the BP and RP case respectively:

 $T_{p}^{\dagger}(\lambda)_{BP}=\left\{\begin{array}[]{l@{\quad}l}T_{p}(\lambda)% \quad&for~{}\lambda<647nm\\ \quad\\ T_{p}(647nm)\quad&for~{}\lambda\geqslant 647nm\end{array}\right.$ (5.10)
 $T_{p}^{\dagger}(\lambda)_{RP}=\left\{\begin{array}[]{l@{\quad}l}T_{p}(\lambda)% \quad&for~{}\lambda>650nm\\ \quad\\ T_{p}(650nm)\quad&for~{}\lambda\leqslant 650nm\end{array}\right.$ (5.11)

and $R_{cut}(\lambda;\mu,\sigma)$ is a parametric curve based on the Gauss error function and its complementary function:

 $R_{cut}(\lambda;\mu,\sigma)=\left\{\begin{array}[]{r@{\quad}l}\frac{1}{2}~{}% \mathrm{erfc}\left(\frac{(\lambda-\lambda_{co}-\mu)}{\sigma_{co}+|\sigma|}% \right)\quad&~{}~{}for~{}BP\\ \quad\\ \frac{1}{2}~{}\left(1+\mathrm{erf}\left(\frac{(\lambda-\lambda_{co}-\mu)}{% \sigma_{co}+|\sigma|}\right)\right)\quad&~{}~{}for~{}RP\end{array}\right.$ (5.12)

where $\lambda_{co}$ represents the nominal cut-off wavelength ($659.6$ nm for BP, $640.7$ nm for RP), and $\sigma_{co}$ represents the nominal cut-off slope ($4.71$ for BP, $3.26$ for RP). When the two parameters $\mu$ and $\sigma$ are set to zero the nominal transmissivity curve is reproduced to a relative accuracy better than $0.5\%$.

## Response Analytic Model

The Response Analytic Model represents the mean system photon-counting response function and is the product of the Nominal Passband model with a polynomial function of low degree:

 $S(\lambda)=R_{Nom}(\lambda;\mu,\sigma)\times\sum_{i=0}^{deg}p_{i}~{}\lambda^{i}$ (5.13)

This model has been designed to correct for large scale discrepancies between the actual and the nominal response curves, such as those produced by the telescope contamination effect.

## Response Hybrid Model

The Response Hybrid Model is an alternative model for the mean system photon-counting response function, and consists of the sum of the Nominal Passband model and a linear combination of special basis functions computed with PCA on a large set of theoretical response curves (hereafter the training set):

 $S(\lambda)=R_{Nom}(\lambda;\mu,\sigma)+\sum_{i=0}^{n_{R}}r_{i}~{}R_{i}(\lambda)$ (5.14)

The training set was built from the extensive set of measurements made by Airbus DS of all the response curve components seen in Eq. (5.8) and available in the DPAC Calibration Data Base (CDB). A MonteCarlo-like procedure was run to apply the relative errors to all measured curves and generate a set of 10,000 different response curves for each pass band. The nominal passband model is then subtracted from these curves, and residuals are arranged in a matrix which is decomposed with Singular Value Decomposition (SVD) into the product of three arrays $B\times D\times B^{T}$, where $D$ is a diagonal matrix whose elements (singular values) are in non-increasing order, and $B$ is an orthonormal matrix whose columns form the orthonormal basis set $R_{i}(\lambda)$ used in Eq. (5.14). The ordering of singular values ensures that the best approximation of the residuals is achieved for any given number of parameters $n_{R}$.

## The integrated photometry Instrument Model

Given a source with an energy flux distribution per wavelength unit $f_{\lambda}(\lambda)$ in units of W nm${}^{-1}$ m${}^{-2}$, the corresponding predicted mean flux $\Im$ can be modelled as:

 $\Im=P_{A}\int\left(\frac{f_{\lambda}(\lambda)~{}\lambda}{10^{9}~{}\hbar c}% \right)S(\lambda)~{}\textrm{d}\lambda$ (5.15)

where $P_{A}$ is the telescope pupil area in unit of m${}^{2}$, $\hbar$ is the Planck constant, $c$ is the velocity of light in vacuum, and $S(\lambda)$ is the mean system photon-counting response function model; in practice, the quantity between brackets represents the source photon flux distribution in units of photons s${}^{-1}$ nm${}^{-1}$ m${}^{-2}$ where $\lambda$ is expressed in nm.

Given a set of $N$ SPSS, the optimal set of parameters of $S(\lambda)$ model to represent the actual photometric system pass band is found by minimising the cost function defined as:

 $cost=\sum_{i=1}^{N}L_{\delta}(a_{i})$ (5.16)

where $L_{\delta}(a_{i})$ is the Huber loss function defined as:

 $L_{\delta}(a_{i})=\left\{\begin{array}[]{l@{\quad}l}\frac{1}{2}~{}a_{i}^{2}% \quad&\textrm{for}~{}|a_{i}|\leqslant\delta\\ \quad\\ \delta\left(|a_{i}|-\frac{1}{2}~{}\delta\right)\quad&\textrm{otherwise}\end{% array}\right.$ (5.17)

and the variable $a_{i}$ refers to the weighted residuals for the i${}^{th}$ SPSS, i.e., the difference between observed and predicted mean flux normalised by the corresponding standard deviation:

 $a_{i}=\frac{\overline{I_{i}}-\Im_{i}}{\sigma_{i}}$ (5.18)

When the instrument model implies the fit of the response cut-off parameters, as in the BP and RP case, since the model is not linear with respect to the fitting parameters, the minimisation of the cost function is achieved with the Differential Evolution algorithm described by Storn and Price (1997); in all other cases this is obtained by standard linear least squares regression. The usage of the Huber loss function should give intrinsically more robustness against outliers with respect to a traditional $\chi$-squared loss based algorithm; however, all solvers implement a sigma rejection scheme to under-weight possible outliers in the data.

## Solving for the model parameters in the BP/RP case

It can be demonstrated that the integrated magnitudes of the SPSS do not carry enough information to determine the filter cut-off shape with sufficient accuracy, so prior knowledge was needed to constrain the possible variation of the cut-off parameters: the Gaia mean BP and RP spectra could in principle provide such knowledge, however at the time of Gaia DR2 data analysis this kind of information was not yet available, therefore the fitting algorithm was set to allow only for a maximum cut-off shift of 3 nm around the nominal position, according to the Airbus DS findings about the bandwidth variation, as already mentioned in Section 5.3.6. Moreover, the difference between actual and nominal cut-off shapes was expected to be a 2${}^{nd}$ order correction to the nominal passbands and, in order to avoid as much as possible local minima in the complex cost function space, an iterative fitting scheme was implemented, where:

• the cut-off parameters are kept fixed while the overall response shape parameters ($p_{i}$ coefficients for Eq. (5.13) or $r_{i}$ coefficients for Eq. (5.14)) are fitted with a linear solver;

• the response shape parameters are kept fixed while the cut-off parameters ($\mu$ and $\sigma$ of Eq. (5.8)) are evaluated with the Differential Evolution solver;

The two steps were repeated till convergence was reached.

## The $G$, $G_{\rm BP}$ and $G_{\rm RP}$ magnitude scales in the VEGAMAG system

Hereafter we generically use the symbols G and S to indicate respectively the magnitude and the mean system photon-counting response in any of the Gaia $G$, $G_{\rm BP}$ and $G_{\rm RP}$ bands.

The weighted mean flux $\overline{I}$ provided by the internal calibration can be used to define an instrumental magnitude:

 $G_{\rm instr}=-2.5\log\overline{I}$ (5.19)

The Gaia magnitude $G$ scale is defined by adding a zero point, $G_{0}$, to the instrumental magnitude, as:

 $G\equiv G_{\rm instr}+G_{0}$ (5.20)

Traditionally, the value of $G_{0}$ can be determined by the comparison between the synthetic photometry computed on a set of calibrators with known SEDs and their corresponding instrumental magnitudes: however, since the current passband model has been optimized to reproduce the measured SPSS mean fluxes, the zeropoint computation is simpler. The specific algorithm to compute synthetic photometry depends on the adopted magnitude system: in the Gaia DR2 case, in accordance with Gaia DR1, the photometry is computed in the VEGAMAG system, this being the de-facto standard used internally by the Gaia data processing during the years of preparation of the mission.

The VEGAMAG system is defined so that Vega’s colours are all zero: this is equivalent to normalizing all the observed fluxes to the flux of Vega. The reference spectrum chosen for the Gaia photometric system is a Kurucz/ATLAS9 model (Buser and Kurucz 1992) for the Vega spectrum (CDROM 19) with T${}_{\rm eff}$ = 9550 K, $\log$ g = 3.95 dex and $[M/H]=-0.5$ dex, and v${}_{micro}$ = 2 km s${}^{-1}$. Its visual magnitude is assumed to be V${}_{0}$ = 0.0 mag.

Given a source with an energy flux distribution $f_{\lambda}(\lambda)$, the integrated energy flux per unit wavelength interval $f_{\lambda}$, measured by a photon-counting detector with response $S(\lambda)$, can be expressed as:

 $f_{\lambda}=\int f_{\lambda}(\lambda)\ S(\lambda)\ \lambda\ d\lambda$ (5.21)

The synthetic magnitude in the VEGAMAG system is given by:

 $\displaystyle G$ $\displaystyle=$ $\displaystyle-2.5~{}\log~{}\frac{\int f_{\lambda}(\lambda)\ S(\lambda)\ % \lambda\ d\lambda}{\int f_{\lambda}^{\rm Vega}(\lambda)\ S(\lambda)\ \lambda\ % d\lambda}+G_{\rm Vega}$ (5.22)

Since all Vega colours by definition are zero, $G_{\rm Vega}=0.0$ mag. Isolating the zero point $G_{0}$ from Eq. (5.20) and substituting $G$ with the expression in Eq. (5.22), one can set:

 $\displaystyle G_{0}$ $\displaystyle=$ $\displaystyle-2.5~{}\log~{}\left(\frac{\int f_{\lambda}(\lambda)\ S(\lambda)\ % \lambda\ d\lambda}{\overline{I}}\right)$ (5.23) $\displaystyle+2.5~{}\log~{}\left(\int f_{\lambda}^{\rm Vega}(\lambda)\ S(% \lambda)\ \lambda\ d\lambda\ \right)$

Using Eq. (5.15) one obtains:

 $\frac{\int f_{\lambda}(\lambda)\ S(\lambda)\ \lambda\ d\lambda}{\overline{I}}% \equiv\frac{\Im}{\overline{I}}\times\frac{10^{9}~{}\hbar c}{P_{A}}$ (5.24)

Given the passband model optimization described in Section 5.3.6, the expectation value for $\frac{\Im}{\overline{I}}$ is 1 and Eq. (5.23) becomes:

 $G_{0}=+2.5~{}\log~{}\left(P_{A}~{}\int\left(\frac{f_{\lambda}^{\rm Vega}(% \lambda)\ \lambda}{10^{9}~{}\hbar c}\right)\ S(\lambda)\ d\lambda\ \right)$ (5.25)

The error on magnitudes associated to $G_{0}$ can be computed by propagating the errors on $S(\lambda)$ parameters into the above equation. The final uncertainty in the externally calibrated magnitude ($G$) in Eq. (5.20)) is

 $\sigma_{G}=\sqrt{\bigg{(}1.0857~{}\frac{\sigma_{\overline{I}}}{\overline{I}}% \bigg{)}^{2}+(\sigma_{G_{0}})^{2}}$ (5.26)

where $\sigma_{\overline{I}}$ is given by the internal calibration.

## Zero point computation in the AB scale

The AB system (Oke and Gunn 1983) is defined in such a way that an object with constant flux per unit frequency interval has zero colour:

 $AB_{\nu}=-2.5~{}\log~{}f_{\nu}-48.60$ (5.27)

where $f_{\nu}$ is the flux in erg cm${}^{-2}$ s${}^{-1}$ Hz${}^{-1}$. The constant term is defined to set AB = 0 mag for a source $s_{0}$ with $f_{\nu,s_{0}}=3.631~{}10^{-20}$ erg s${}^{-1}$ Hz${}^{-1}$ cm${}^{-2}$.

Gaia fluxes are expressed in SI units (W m${}^{-2}$ Hz${}^{-1}$) and hence the value of the constant becomes $-56.10$ mag. According to Bessell and Murphy (2012), Eq. 5.27 can be generalised to be used with broad photometric bands:

 $AB=-2.5\log~{}\langle f_{\nu}\rangle-56.10$ (5.28)

with

 $\langle f_{\nu}\rangle=10^{-9}~{}\frac{\int f_{\lambda}(\lambda)\ S(\lambda)\ % \lambda\ d\lambda}{\int S(\lambda)\ c\ d\lambda/\lambda}$ (5.29)

Using Eq. 5.28 to describe Gaia external magnitudes in the AB system, $G_{\rm AB}$, and isolating the zero point from Eq. 5.20 one gets:

 $G_{0,{\rm AB}}=G_{\rm AB}-G_{\rm instr}=-2.5~{}\log~{}\left(\frac{\langle f_{% \nu}\rangle}{\overline{I_{s}}}\right)-56.10$ (5.30)

The quantity $Q^{\prime}=\frac{\langle f_{\nu}\rangle}{\overline{I}}$ can be estimated by taking the weighted mean of all the values measured of the SPSS:

 $Q^{\prime}\simeq\frac{\sum_{s=1}^{N_{\rm SPSS}}w_{s}q_{s}}{\sum_{s=1}^{N_{\rm SPSS% }}w_{s}}$ (5.31)

where $q_{s}=\frac{{\langle f_{\nu,s}\rangle}}{\overline{I_{s}}}$ and $w_{s}=\frac{1}{{\sigma_{q_{s}}}^{2}}$
being

 $\sigma_{q_{s}}=|q_{s}|~{}\sqrt{\left(\frac{\sigma_{f_{\lambda,s}}}{f_{\lambda,% s}}\right)^{2}+\left(\frac{\sigma_{\overline{I_{s}}}}{\overline{I_{s}}}\right)% ^{2}}$ (5.32)

where $\sigma_{f_{\lambda,s}}$ is computed by propagating the error of the SPSS SEDs ground-based measurements with Eq. 5.21, while $\sigma_{\overline{I_{s}}}$ is given by the internal calibration.

The standard uncertainty on the weighted mean $Q^{\prime}$ is computed by using an approximation formula given by Cochran (1977):

 $\displaystyle\sigma_{Q^{\prime}}^{2}$ $\displaystyle=$ $\displaystyle\fracN_{\rm SPSS}}{\displaystyle(N_{\rm SPSS}-1)% \left(\sum_{s=1}^{N_{\rm SPSS}}w_{s}\right)^{2}}\cdot\Bigg{[}\sum_{s=1}^{N_{% \rm SPSS}}\left(w_{s}q_{s}-\overline{w}Q^{\prime}\right)^{2$ (5.33) $\displaystyle-2~{}Q^{\prime}\sum_{s=1}^{N_{\rm SPSS}}\left(w_{s}-\overline{w}% \right)\left(w_{s}q_{s}-\overline{w}Q^{\prime}\right)+Q^{\prime 2}\sum_{s=1}^{% N_{\rm SPSS}}\left(w_{s}-\overline{w}\right)^{2}~{}\Bigg{]}$

Summarizing the AB scenario, the externally calibrated magnitude ($G_{AB}$) and its uncertainty ($\sigma_{G_{AB}}$) in the AB scale for a source with an internally calibrated mean flux $\overline{I_{s}}$ is given by:

 $\displaystyle G_{AB}$ $\displaystyle=$ $\displaystyle-2.5~{}\log~{}\overline{I_{s}}-2.5~{}\log\left({Q^{\prime}}\right% )-56.10$ (5.34) $\displaystyle\sigma_{G_{AB}}$ $\displaystyle=$ $\displaystyle\sqrt{\left(1.0857~{}\frac{\sigma_{\overline{I_{s}}}}{\overline{I% _{s}}}\right)^{2}+\left(1.0857~{}\frac{\sigma_{{Q^{\prime}}}}{{Q^{\prime}}}% \right)^{2}}$ (5.35)

## Guidelines to synthetic photometry computations

Gaia DR2 published fluxes are in units of photo-electrons s${}^{-1}$ and are on a arbitrary scale due to the way reference fluxes are defined in the internal calibration process. These fluxes can be converted to meaningful magnitudes by adding the provided zero points in the VEGAMAG or in the AB systems as explained in previous sections. However it is possible to compute synthetic fluxes from theoretical or observed SEDs to be compared with published fluxes in a straightforward way with the following procedure:

• if necessary, convert the SED in units of W nm${}^{-1}$ m${}^{-2}$;

• transform it into a spectral photon distribution in units of photons s${}^{-1}$ nm${}^{-1}$ m${}^{-2}$ by multiplying for the factor $\frac{\lambda}{10^{9}~{}hc}$;

• multiply the photon distribution by the pass band and integrate over the wavelength;

• rescale the integrated flux by the Gaia telescope pupil area $P_{A}=0.7278~{}m^{2}$;

The resulting integrated flux is in units of photons s${}^{-1}$ and is in the Gaia DR2 flux scale. Likewise Gaia published fluxes, the conversion to magnitude is trivially obtained by adding the provided zero point to $2.5$ times the $log_{10}$ of the integrated flux. For a fruitful comparison between Gaia data and 3rd party theoretical or observed data, in order to preserve as much as possible the intrinsic precision of Gaia data we strongly recommend users to forward transform their data to Gaia plane and in particular to work with fluxes in Gaia units: any backward transformation of Gaia fluxes into something else could compromise both its precision and accuracy. For example, the transformation from Gaia fluxes to monochromatic flux densities at some reference wavelength would depend on the source SED which is not available. However if one needs to work with fluxes in physical units this can be achieved using the relations given in the previous section by transforming Gaia DR2 fluxes into AB magnitudes and these to mean $\langle f_{\nu}\rangle$ and $\langle f_{\lambda}\rangle$ as summarised below:

 $G_{\rm AB}=-2.5\log~{}\overline{I}+G_{0,{\rm AB}}$ (5.36)
 $G_{\rm AB}=-2.5~{}\log~{}\left(\frac{\langle f_{\nu}\rangle}{\overline{I_{s}}}% \right)-56.10$ (5.37)

hence

 ${\langle f_{\nu}\rangle}={\overline{I}}~{}10^{-0.4\left(G_{0,{\rm AB}}+56.10% \right)}$ (5.38)

is the source mean flux per frequency unit in units of W m${}^{-2}$ Hz${}^{-1}$. This can be converted to the mean flux per wavelength units in units of W m${}^{-2}$ nm${}^{-1}$ as follows:

 ${\langle f_{\lambda}\rangle}={\langle f_{\nu}\rangle}\frac{c}{\lambda_{p}^{2}}$ (5.39)

where $\lambda_{p}$ is the pivot wavelength defined as

 $\lambda_{p}=\sqrt{\frac{\int S(\lambda)\lambda\>d\lambda}{\displaystyle\int% \frac{S(\lambda)}{\lambda}\>d\lambda}}$ (5.40)

Finally the mean energy flux $\langle f_{\lambda}\rangle$ can be converted to the mean photon flux:

 ${\langle n_{p}\rangle}={\langle f_{\lambda}\rangle}\frac{\lambda_{0}}{hc}$ (5.41)

where

 $\lambda_{0}=\frac{\int\lambda S(\lambda)\>d\lambda}{\int S(\lambda)\>d\lambda}$ (5.42)

accordingly to Bessell and Murphy (2012) is the mean photon wavelength of the passband. Mean photon wavelengths and pivot wavelengths are give below in Table 5.4. Other commonly used wavelengths associated with passbands like the isophotal wavelength or the effective wavelengths depend explicitly on the source spectral energy distribution and hence are not computed here.

## Results

The data exported from internal calibration which matched the SPSS IDs consisted of 93 records out of the 94 sources present in the V1 SPSS list (one star was missed by the cross-match identification process because of its high proper motion): a set of 64 SPSS were extracted from the gold sources (i.e. sources with colour in the $G_{\mathrm{BP}}-G_{\mathrm{RP}}$ $=0.0-4.0$ range, where the time link-calibration could be applied, see Section 5.4.3) set while the remaining 29 were recovered from the silver set sources (i.e. sources with colour outside the $G_{\mathrm{BP}}-G_{\mathrm{RP}}$ $=0.0-4.0$ range, where an ad hoc calibration had to be applied, see Section 5.4.3). The distribution of collected data as a function of the nominal $G$ magnitude and $G_{\mathrm{BP}}-G_{\mathrm{RP}}$ colour is shown in Figure 5.7. Figure 5.7: Left: Synthetic G magnitude distribution of the SPSS exported by the internal calibration pipeline: yellow and grey colours represent the distribution of gold and silver sources respectively, while blue indicates the missing SPSS (not identified by the cross-match, see text). Right: same data as in left panel, plotted against the synthetic GBP-GRP colour.

To provide a visual comparison between the Gaia DR2 photometric system properties and the pre-launch nominal one, we show in Figure 5.8 the difference between synthetic and instrumental magnitudes as a function of the $G_{\mathrm{BP}}-G_{\mathrm{RP}}$ colour for the 93 SPSS: while the $G$ magnitudes are comparable with internally calibrated photometry, the $G_{\rm BP}$ data exhibit a complex behaviour and clearly show a rather strong colour term for sources bluer than $G_{\mathrm{BP}}-G_{\mathrm{RP}}$ $\simeq-0.2$ mag. This colour term is presumably due to the combination of internal calibrators colour selection with time link calibrations to correct for telescopes transmissivity variations due to contamination. The $G_{\rm RP}$ case shows a clear colour term with redder sources being fainter than expected. Figure 5.8: Comparison between synthetic and instrumental magnitudes as a function of source GBP-GRP colour for G (top), GBP (centre) and GRP (bottom) obtained by adopting the nominal passbands. The point colours encode the G magnitude of the sources (red dots showing fainter sources); triangles represent the silver sources. The black horizontal line represents the mean value of the plotted values.

Figure 5.9 shows the calibrated Gaia pass bands for the G, $G_{\rm BP}$ and $G_{\rm RP}$ photometric systems; each curve is compared against the nominal counterpart and the $\pm 1\sigma$ level is represented as a shaded region. The G and $G_{\rm BP}$ curves have been modelled by the Response Hybrid Model using respectively 4 and 3 basis functions. The $G_{\rm BP}$ curve exhibits a pronounced bump in the blue side with respect to the nominal curve, that is needed to correct for the colour term left into the silver sources data by the Time Link Calibration. The $G_{\rm RP}$ case was more problematic to optimize, because the output curve resulting from the Hybrid Response Model had an implausible shape independently of the number of basis function used: this is an evidence that the actual pass band shape is significantly different from the nominal one and the PCA based representation fails to give an acceptable result. For this reason a 1${}^{st}$ degree polynomial function was used for the Analytic Response Model of the $G_{\rm RP}$. Figure 5.9: Calibrated Gaia pass bands for G (top), GBP (centre) and GRP (bottom) Gaia DR2 photometric systems. Shaded areas represent the ±1⁢σ level. Black lines represent nominal response curves while the coloured ones are the calibrated curves.(Evans et al. 2018) Figure 5.10: Left: Comparison between synthetic and instrumental magnitudes as a function of source GBP-GRP colour for G (top), GBP (centre) and GRP (bottom). The point colours encode the G magnitude of the sources (red dots showing fainter sources); triangles represent the silver sources. Right: Residuals with respect to the fitted zeropoints as a function of source magnitude; the point colours encode the GBP-GRP colour of the sources (red dots showing reddest sources).(Evans et al. 2018)

Once the calibrated pass bands are used to recompute synthetic photometry, the comparison with SPSS mean fluxes shows that the colour terms are effectively removed (Figure 5.10 top panels). The solid black lines represent the derived external calibration zero points which are given in Table 5.2.

These passbands were released for internal DPAC use in July 2017 and adopted in the photometric processing to calibrate the magnitudes to be released in Gaia DR2. These passbands are available to be downloaded at the following url: https://www.cosmos.esa.int/documents/29201/1645651/GaiaDR2_Passbands_ZeroPoints.zip.

A following analysis showed that the BP/RP spectra were better described by taking into account an offset in the RP cutoff wavelength position. A new set of revised passbands was then derived in October 2017 to introduce this and a few other minor changes. These updated passbands can be downloaded at the following url: https://www.cosmos.esa.int/documents/29201/1645651/GaiaDR2_Revised_Passbands_ZeroPoints.zip.

The left panels of Figure 5.10 show residuals with respect to the adopted zeropoint as function of $G$, $G_{\rm BP}$ and $G_{\rm RP}$ magnitudes respectively to investigate for possible systematics left by the internal calibration. The only appreciable effect is visible in the $G$ case, where sources with $G$ $\lesssim 12$ mag seem to have slightly higher residuals with respect to fainter sources.

Finally, Table 5.3 gives the zeropoints for the three passbands in the AB system: these values can be used to convert Gaia photometry to the AB system.