GaiaXPy Tool

 

The Gaia Data Release 3 (DR3) offers access for the first time to mean low-resolution spectra obtained from a combination of a number of epoch Blue and Red Photometer (BP and RP) observations covering the optical to near-infrared wavelength range [330, 1050] nm.
 

These are available for about 220 million sources, mostly brighter than G=17.65. Their signal-to-noise ratio varies significantly over the wavelength range covered and with magnitude and colour of the observed objects (see https://www.cosmos.esa.int/web/gaia/iow_20211223), with sources around G=15 having S/N above 100 in some wavelength ranges. 

Detailed information about the BP/RP spectral data in Gaia DR3 is available in a number of papers: De Angeli et al. 2022 describes the processing that converts the raw data into mean spectra in an internal reference system that is homogeneous across all instruments (defined by different CCDs and instrumental configurations and by their variations in time). Montegriffo et al 2022 details the algorithms defining the calibration that links the internal system to the absolute flux and wavelength system. Both these papers show several results of the validation done by the same team that processed the data. Finally, Babusiaux et al. 2022 includes a section on the independent validation of the BP/RP data in Gaia DR3.

In addition to these, one of the performance verification papers (Gaia Collaboration, Montegriffo et al. 2022) focuses on synthetic photometry generated from the BP/RP mean spectra, exploring some potential scientific application and showing the performances that can be achieved in different photometric systems.

The Gaia DR3 BP/RP spectra are represented in a somewhat unusual format as a continuous function defined as a combination of basis functions. While the usage of this continuous representation is recommended to make optimal use of the available information and to ensure a full treatment of covariances, there will be use cases that might benefit from a more traditional format of the spectra or from a simplified analysis based on synthetic photometry in a specific set of bands. For this reason, and to facilitate users of the Gaia DR3 BP/RP spectral data, a Python library, GaiaXPy, has been developed offering a set of tools operating on data as served by the Gaia archive.

Being represented as a combination of basis functions, the BP/RP spectra are fully defined by an array of coefficients to be applied to the basis functions, an array of coefficient uncertainties and a correlation matrix. A complete set of coefficients and covariances are provided per source and per photometer for all sources for which BP/RP spectra are published. The same set of coefficients can be applied to different sets of basis functions to obtain spectra in the internal reference system or in the absolute reference system.

GaiaXPy can handle input spectra in all formats available from the archive (CSV, ECSV, FITS and VOTable). The results can be written to files in any of the input formats. It is also possible to call the GaiaXPy functions with a list of source identifiers, in which case the corresponding data is downloaded from the archive via Astroquery.

The first release of GaiaXPy offers access to the following functionalities:

  • Calibration of internally-calibrated continuously-represented mean spectra to the absolute system
  • Conversion of mean spectra from a continuous representation to a sampled spectrum
  • Generation of synthetic photometry in bands that are covered by the BP/RP wavelength range

For more information on GaiaXPy please refer to the tool webpage at https://gaia-dpci.github.io/GaiaXPy-website/ where links to the on-line documentation, repository and to the tutorials are available.

 

Access the GaiaXPy tool here

 

If you make use of GaiaXPy for your research, please use the following acknowledgement in addition to the standard Gaia one:

This work has made use of the Python package GaiaXPy, developed and maintained by members of the Gaia Data Processing and Analysis Consortium (DPAC) and in  particular, Coordination Unit 5 (CU5), and the Data Processing Centre located at the Institute of Astronomy, Cambridge, UK (DPCI).

When citing GaiaXPy, please use the DOI for the correct release you have used. A paper is also in preparation and details will be added to this page and to the GaiaXPy webpage as soon as available.

 

Published: 13 June 2022

​​​​​​​​​​​​​​