Glossary¶
Astra uses a centralized glossary system (defined in astra.glossary) to provide consistent help text for field names across all pipeline models. When a database field is created in any model, the glossary is consulted automatically to populate the field’s help_text attribute. This means that a field called teff will always carry the description “Stellar effective temperature [K]”, regardless of which pipeline produced it.
The glossary also understands naming conventions. Prefixes and suffixes like e_, raw_, and _flags are resolved automatically, so e_teff is understood as “Error on stellar effective temperature [K]” without needing a separate entry.
Naming conventions¶
Astra field names follow systematic conventions that encode meaning through prefixes and suffixes.
Prefix / Suffix |
Meaning |
Example |
|---|---|---|
|
Error (uncertainty) on a quantity |
|
|
Raw (uncalibrated) measurement |
|
|
Initial guess value used to seed a fit |
|
|
Bitfield flags for a quantity |
|
|
Reduced chi-square value for a fit |
|
|
Correlation coefficient between two quantities |
|
These conventions are handled by the SPECIAL_CONTEXTS mechanism in the glossary module, which means that any combination (e.g., e_fe_h, raw_logg, initial_v_rad) is resolved automatically without requiring an explicit glossary entry.
Common pipeline output fields¶
These fields appear on all (or most) pipeline result tables via the PipelineOutputMixin base class.
Identifiers and metadata¶
Field |
Description |
|---|---|
|
Task model primary key (auto-assigned unique identifier for each pipeline result) |
|
Foreign key linking to the unique source (astronomical object) |
|
Foreign key linking to the unique spectrum that was analyzed |
|
Integer-encoded version of Astra that produced this result |
|
Datetime when the task record was created |
|
Datetime when the task record was last modified |
|
Experiment tag for this result (useful for distinguishing test runs) |
|
Core-time elapsed on this analysis [s] |
|
Estimated core-time spent in overheads [s] |
Stellar parameters¶
These fields are produced by most stellar parameter pipelines (e.g., ASPCAP, The Cannon, The Payne, AstroNN).
Field |
Description |
|---|---|
|
Stellar effective temperature [K] |
|
Error on effective temperature [K] |
|
Surface gravity [log10(cm/s^2)] |
|
Error on surface gravity [log10(cm/s^2)] |
|
[Fe/H] iron abundance [dex] |
|
Error on [Fe/H] [dex] |
|
Metallicity [dex] |
|
Projected rotational velocity [km/s] |
|
Microturbulence [km/s] |
|
Macroscopic broadening [km/s] |
|
[alpha/Fe] abundance ratio [dex] |
|
Atmospheric carbon abundance [dex] |
|
Atmospheric nitrogen abundance [dex] |
|
[alpha/M] abundance ratio [dex] |
Radial velocities¶
Field |
Description |
|---|---|
|
Barycentric rest-frame radial velocity [km/s] |
|
Error on radial velocity [km/s] |
|
Relative velocity [km/s] |
|
Barycentric velocity correction applied [km/s] |
|
Median error in radial velocity [km/s] |
|
Cross-correlation function FWHM |
|
Auto-correlation function FWHM |
|
Number of components in the cross-correlation function |
|
Heliocentric velocity correction [km/s] |
|
Relative velocity shift used in stack [km/s] |
Quality and fit indicators¶
Field |
Description |
|---|---|
|
Signal-to-noise ratio |
|
Bitfield flags describing the results |
|
Composite warning flag (True if any warning condition is set) |
|
Composite bad flag (True if any critical failure condition is set) |
|
Chi-square value of the fit |
|
Reduced chi-square value of the fit |
|
Flags indicating the source of the initial guess |
|
Whether any calibration has been applied to raw measurements |
Elemental abundances¶
Many pipelines (especially ASPCAP) report individual elemental abundances. These all follow the [X/H] convention in dex.
Field |
Description |
|---|---|
|
[Al/H] [dex] |
|
[C/H] [dex] |
|
[C/H] from neutral C lines [dex] |
|
C12/C13 ratio |
|
[Ca/H] [dex] |
|
[Ce/H] [dex] |
|
[Co/H] [dex] |
|
[Cr/H] [dex] |
|
[Cu/H] [dex] |
|
[He/H] [dex] |
|
[K/H] [dex] |
|
[Mg/H] [dex] |
|
[Mn/H] [dex] |
|
[Na/H] [dex] |
|
[Nd/H] [dex] |
|
[Ni/H] [dex] |
|
[N/H] [dex] |
|
[O/H] [dex] |
|
[P/H] [dex] |
|
[Si/H] [dex] |
|
[S/H] [dex] |
|
[Ti/H] [dex] |
|
[Ti/H] from singly ionized Ti lines [dex] |
|
[V/H] [dex] |
All abundance fields support the e_ prefix for uncertainties (e.g., e_al_h is the error on [Al/H]).
Spectral fields¶
These fields describe the spectral data itself, available on spectrum models (APOGEE visits/stars, BOSS spectra, etc.).
Pixel arrays¶
Field |
Description |
|---|---|
|
Wavelength (vacuum) [Angstrom] |
|
Flux [10^-17 erg/s/cm^2/Angstrom] |
|
Inverse variance of flux values |
|
Error on flux (computed as ivar^-0.5) |
|
Pixel-level quality flags (see data reduction documentation) |
|
Best-fit model flux |
|
Best-fit continuum flux |
|
Rectified NMF model flux |
Wavelength solution¶
Field |
Description |
|---|---|
|
Reference vacuum wavelength [Angstrom] |
|
Vacuum wavelength step [Angstrom] |
|
Reference pixel (1-indexed) |
|
Number of pixels in the spectrum |
|
Wavelength axis type |
|
Wavelength axis unit |
|
Linear (0) or logarithmic wavelength axis |
|
Spectral resolution [Angstrom] |
Observation metadata¶
Field |
Description |
|---|---|
|
Modified Julian Date of observation |
|
Fiber number |
|
Field identifier |
|
Plate number of observation |
|
Telescope used to observe the source |
|
Total exposure time [s] |
|
Number of co-added exposures |
|
Number of visits included in the stack |
|
Observation date (UTC) |
|
Julian date at mid-point of visit |
BOSS-specific fields¶
Field |
Description |
|---|---|
|
BOSS data reduction pipeline version |
|
Field identifier |
|
Plate identifier |
|
Cartridge used for plugging |
|
Right ascension of plug position [deg] |
|
Declination of plug position [deg] |
|
BOSS redshift warning bitmask |
|
Whether this spectrum was used in the stack |
APOGEE-specific fields¶
Field |
Description |
|---|---|
|
APOGEE data reduction pipeline version |
|
Short prefix used for DR17 apVisit files |
|
Object name |
|
An |
|
Number of dither pairs combined |
|
Fraction of visits that were dithered |
|
Number of visits included in the apStar file |
|
ADU to flux conversion factor [ergs/s/cm^2/A] |
|
Number of frames combined |
Observing conditions¶
Field |
Description |
|---|---|
|
Mean airmass |
|
Telescope altitude [deg] |
|
Telescope azimuth [deg] |
|
Median seeing conditions [arcsecond] |
|
Air temperature [C] |
|
Dew point temperature [C] |
|
Humidity [%] |
|
Air pressure [millibar] |
|
Wind speed [km/s] |
|
Wind direction [deg] |
|
Wind gust speed [km/s] |
|
Wind gust direction [deg] |
|
Mean phase of the moon |
|
Mean sky distance to the moon [deg] |
FPS (Focal Plane System) fields¶
Field |
Description |
|---|---|
|
Whether a fibre positioner was used to acquire this data |
|
FPS fiber on target |
|
FPS target assigned |
|
Valid FPS target |
|
Position offset applied during observations |
|
Offset in right ascension [arcsecond] |
|
Offset in declination [arcsecond] |
Source fields¶
These fields are on the Source model, which represents a unique astronomical object.
Identifiers¶
Field |
Description |
|---|---|
|
SDSS-5 unique source identifier |
|
Gaia DR3 source identifier |
|
Gaia DR2 source identifier |
|
TESS Input Catalog (v8) identifier |
|
Catalog identifier used to target the source |
|
Catalog identifier (v21; v0.0) |
|
Catalog identifier (v25; v0.5) |
|
Catalog identifier (v31; v1.0) |
|
HEALPix location (128 sides) |
|
Number of SDSS_IDs associated with this CATALOGID |
|
Sources within 3” and G_MAG < G_MAG_source + 5 |
Astrometry¶
Field |
Description |
|---|---|
|
Right ascension (J2000) [deg] |
|
Declination (J2000) [deg] |
|
Galactic longitude [deg] |
|
Galactic latitude [deg] |
|
Parallax [mas] (Gaia DR3) |
|
Error on parallax [mas] (Gaia DR3) |
|
Proper motion in RA [mas/yr] (Gaia DR3) |
|
Error on proper motion in RA [mas/yr] (Gaia DR3) |
|
Proper motion in DEC [mas/yr] (Gaia DR3) |
|
Error on proper motion in DEC [mas/yr] (Gaia DR3) |
|
Radial velocity from Gaia DR3 [km/s] |
|
Error on Gaia radial velocity [km/s] |
Photometry¶
Field |
Description |
|---|---|
|
Gaia DR3 mean G-band magnitude [mag] |
|
Gaia DR3 mean BP-band magnitude [mag] |
|
Gaia DR3 mean RP-band magnitude [mag] |
|
2MASS J-band magnitude [mag] |
|
Error on 2MASS J-band magnitude [mag] |
|
2MASS H-band magnitude [mag] |
|
Error on 2MASS H-band magnitude [mag] |
|
2MASS K-band magnitude [mag] |
|
Error on 2MASS K-band magnitude [mag] |
|
2MASS photometric quality flag |
|
Number of components fit per band (JHK) |
|
Contamination and confusion flag |
unWISE photometry¶
Field |
Description |
|---|---|
|
unWISE W1-band flux [Vega nMgy] |
|
Statistical uncertainty in W1-band flux [Vega nMgy] |
|
Fraction of W1 flux from this object |
|
unWISE W2-band flux [Vega nMgy] |
|
Statistical uncertainty in W2-band flux [Vega nMgy] |
|
Fraction of W2 flux from this object |
Extinction¶
Field |
Description |
|---|---|
|
E(B-V) reddening [mag] |
|
Error on E(B-V) [mag] |
|
E(B-V) from SFD [mag] |
|
E(B-V) from Zhang et al. (2023) [mag] |
|
E(B-V) from Bayestar 2019 [mag] |
|
E(B-V) from Edenhofer et al. (2023) [mag] |
|
E(B-V) from RJCE GLIMPSE [mag] |
|
E(B-V) from RJCE AllWISE [mag] |
Distances (Bailer-Jones)¶
Field |
Description |
|---|---|
|
Median geometric distance [pc] |
|
16th percentile of geometric distance [pc] |
|
84th percentile of geometric distance [pc] |
|
50th percentile of photogeometric distance [pc] |
|
16th percentile of photogeometric distance [pc] |
|
84th percentile of photogeometric distance [pc] |
Targeting¶
Field |
Description |
|---|---|
|
Lead catalog used for cross-match |
|
SDSS catalog version for targeting |
|
First carton for the source |
|
Carton bit field |
|
SDSS-5 targeting flags |
Data reduction pipeline version fields¶
Various version fields track the software used in data processing.
Field |
Description |
|---|---|
|
Astra version (integer-encoded) |
|
APOGEE data reduction pipeline version |
|
Version of the BOSS ICC |
|
Version of Jaeger |
|
Version of Kaiju |
|
Version of coordIO |
|
Version of FPS calibrations |
|
Version of idlspec2d for processing raw data |
|
Version of idlspec2d for 2D reduction |
|
Version of idlspec2d for combining exposures |
|
The SDSS release name |