# 6.1.2 Data products in Gaia DR2

The data products for each source processed by the spectroscopic pipeline are: radial velocity and uncertainty, the number of transits of the source used to estimate the radial velocity, and the parameters ${T}_{\mathrm{eff}}$ (effective temperature), $\mathrm{log}g$ (surface gravity) and [Fe/H] (metallicity) of the template synthetic spectrum used to measure the radial velocity. In Table 6.1 the products of the spectroscopic processing are listed, together with the notation used in this chapter and the name in the Gaia Archive data base. To highlight that the Gaia EDR3 spectroscopic data are not new data but copied from Gaia DR2, the archive name has been changed to contain the prefix ‘dr2’ (Table 6.1).

Data product | Units | Notation | Gaia Archive name |

Median radial velocity | km s${}^{-1}$ | ${V}_{\mathrm{rad}}$ | dr2_radial_velocity |

Radial velocity uncertainty | km s${}^{-1}$ | ${\u03f5}_{{V}_{\mathrm{rad}}}$ | dr2_radial_velocity_error |

Number of transits | $N$ | dr2_ rv_nb_transits | |

Template temperature | K | ${T}_{\mathrm{eff}}$ | dr2_ rv_template_teff |

Template surface gravity | dex | $\mathrm{log}g$ | dr2_rv_template_logg |

Template metallicity | dex | [Fe/H] | dr2_rv_template_fe_h |

The main data products of the RVS data processing are the radial velocities (${V}_{\mathrm{rad}}$). For each transit of each source that enters the pipeline (only a small number of the sources observed by the RVS are processed in Gaia DR2, see Section 6.2.1) the radial velocity is computed. The median value of these single-transit measurements, corrected by the Gaia velocity with respect to the solar-system barycentre (${V}_{\mathrm{rad}}^{\mathrm{t}}$), is the dr2_radial_velocity associated to the source:

$${V}_{\mathrm{rad}}=median({V}_{\mathrm{rad}}^{\mathrm{t}})$$ | (6.1) |

The dr2_radial_velocity_error (${\u03f5}_{{V}_{\mathrm{rad}}}$) is the uncertainty on the median, to which a constant shift of 0.11 km s${}^{-1}$ has been added to take into account of a calibration floor contribution:

$${\u03f5}_{{V}_{\mathrm{rad}}}=\sqrt{{\sigma}_{{V}_{\mathrm{rad}}}^{2}+{0.11}^{2}}$$ | (6.2) |

where ${\sigma}_{{V}_{\mathrm{rad}}}$ is the uncertainty on the median:

$${\sigma}_{{V}_{\mathrm{rad}}}=\sqrt{\frac{\pi}{2}}.\frac{\sigma ({V}_{\mathrm{rad}}^{\mathrm{t}})}{\sqrt{N}}$$ | (6.3) |

$\sigma ({V}_{\mathrm{rad}}^{\mathrm{t}})$ is the standard deviation of the single-transit radial velocities and $N$ the number of transits for which a ${V}_{\mathrm{rad}}^{\mathrm{t}}$ has been obtained.

The number of transits, $N$ = dr2_rv_nb_transits, that have been combined to produce the radial velocity ${V}_{\mathrm{rad}}$ is also provided. It permits to take back the standard deviation and have the information on the dispersion of the single-transit measurements.

The radial velocities ${V}_{\mathrm{rad}}^{\mathrm{t}}$ are measured by a fit of synthetic spectra templates (Section 6.4.7). The information on the synthetic spectrum used to determine the radial velocity of the star is provided via its atmospheric parameters ${T}_{\mathrm{eff}}$, $\mathrm{log}g$ and [Fe/H], named respectively dr2_rv_template_teff, dr2_rv_template_logg and dr2_rv_template_fe_h.

In Gaia EDR3 $\sim $7.2 million stars have a dr2_radial_velocity. The median dr2_radial_velocity_error is $\sim $1.05 km s${}^{-1}$.