DOROTHY home

The catalogue / What is in the super-catalogue

What is in the super-catalogue

The super-catalogue is one HDF5 file. Each row is one star, matched across surveys by its Gaia DR3 source ID (Gaia Collaboration and Vallenari et al. 2023). A row holds the star’s spectra and its labels, wherever they exist.

One row per star

The super-catalogue, illustrated with 12 stars: each row is one star, identified by its Gaia DR3 source ID. The columns are the spectra of DESI, BOSS, LAMOST LRS and LAMOST MRS and the labels of APOGEE and GALAH. A filled spectrum cell means the survey observed the star; a filled label cell means the label source has a row of labels for the star. Every star has a spectrum and a label row, and most cells are empty. One row is outlined: one star. Spectra (surveys) Labels (label sources) DESI BOSS LAMOST LRS LAMOST MRS APOGEE GALAH Gaia DR3 ID …2817 …0394 …7735 …1068 …5521 …8840 …3197 …6402 …9953 …4486 …2270 …7019 one star, Gaia DR3 source ID illustrative
The super-catalogue, illustrated with 12 stars: each row is one star, identified by its Gaia DR3 source ID. The columns are the spectra of DESI, BOSS, LAMOST LRS and LAMOST MRS and the labels of APOGEE and GALAH. A filled spectrum cell means the survey observed the star; a filled label cell means the label source has a row of labels for the star. Every star has a spectrum and a label row, and most cells are empty. One row is outlined: one star. Spectra Labels DESI BOSS LAMOST LRS LAMOST MRS APOGEE GALAH …2817 …0394 …7735 …1068 …5521 …8840 …3197 …6402 …9953 …4486 …2270 …7019 one star, Gaia DR3 source ID illustrative

A row is a star, a filled label cell means the label source has a row of labels for it, and most cells are empty; the stars are illustrative.

The rows are sorted by Gaia DR3 source ID, and row i is the same star in every group of the file. Most stars appear in only one or two surveys.

Where a survey did not observe a star, the star’s spectrum for that survey is empty: flux 0, inverse variance (ivar) 0 and S/N 0. All its pixels count as missing. Where a label source did not measure a star, the star’s labels from that source are empty: value 0, error 0 and flag 0. All these labels count as missing. Every star with a spectrum also has a label row from the label source of that spectrum’s input file, though its labels may all be invalid.

The groups

Group

Contents

One entry per star

metadata/

Gaia DR3 source ID, RA and Dec

three numbers

surveys/desi/, surveys/boss/, surveys/lamost_lrs/

flux, inverse variance and S/N of one spectrum, and the survey’s wavelength grid

one spectrum

surveys/lamost_mrs/

flux and inverse variance of the blue and red arms, S/N, and one wavelength grid per arm

two arms

labels/apogee/, labels/galah/

value, error and quality flag of every parameter

one label per parameter

The datasets

N is the number of stars, P the number of parameters, and n_wavelengths the number of pixels of a survey’s spectrum.

super_catalogue.h5
├── metadata/
│   ├── gaia_id       (N,)        int64, sorted
│   └── ra, dec       (N,)        float64, degrees
├── surveys/
│   ├── desi/, boss/, lamost_lrs/
│   │   ├── flux        (N, n_wavelengths)  float32
│   │   ├── ivar        (N, n_wavelengths)  float32
│   │   ├── wavelength  (n_wavelengths,)    float32, Å
│   │   └── snr         (N,)                float32
│   └── lamost_mrs/
│       ├── spectra       (N, 4, n_max)  float32
│       ├── wavelength_b  (n_b,)         float32, Å
│       ├── wavelength_r  (n_r,)         float32, Å
│       └── snr           (N,)           float32
└── labels/
    └── apogee/, galah/
        ├── values   (N, P)  float32
        ├── errors   (N, P)  float32
        ├── flags    (N, P)  uint8
        └── gaia_id  (N,)    int64

An inverse variance of 0 marks a missing pixel. RA and Dec are 0 where they are unknown. A label group’s gaia_id equals metadata/gaia_id. Labels and quality flags explains the parameters, their units and the flags. How the catalogue is built defines the S/N.

The LAMOST MRS arms

A LAMOST MRS spectrum has a blue arm with n_b pixels and a red arm with n_r pixels. The file stores both arms in one spectra array, with the channels [flux_b, ivar_b, flux_r, ivar_r]. Each arm is padded with zeros to the longer arm, n_max = max(n_b, n_r) pixels. CatalogueLoader cuts each arm to its wavelength grid and joins them, blue then red, into one spectrum of n_b + n_r pixels.

File attributes

Attribute

Value

n_stars

N, the number of rows

parameter_names

the P parameter names, in column order

abundance_scale

x_fe for [X/Fe] abundances, x_h for [X/H]

survey_names

boss, desi, lamost_lrs, lamost_mrs, always all four, even when a survey has no group because it had no input files

label_sources

apogee, galah

creation_date

the build time, in ISO 8601 format

version

the version of the file layout, 2.0.0

Read the catalogue in Python shows how to load each group.