Data ModelsΒΆ
This section describes the data models used by Astra. These models define how astronomical sources, spectra, pipeline results, and summary products are stored in the database and written to FITS files.
All models are built on Peewee ORM and can be used to query the Astra database directly.
Data Models
- Source
- Key Fields
- Methods and Properties
assigned_to_program(program)assigned_to_carton_label(label)assigned_to_mapper(mapper)assigned_to_carton_pk(pk)assigned_to_carton_with_name(name)assigned_to_carton_with_alt_program(alt_program)assigned_to_carton_with_alt_name(alt_name)sdss5_cartons(property)sdss5_target_bits(property)is_sdss5_target_bit_set(bit)is_any_sdss5_target_bit_set(*bits)spectra(property)
- APOGEE Spectrum Models
- BOSS Spectrum Models
- MWM Combined Models
- Pipeline Output Base
- Summary Data Products