Documentation
¶
Overview ¶
Package starhorse is the adapter for StarHorse's APOGEE DR17 and Gaia EDR3 results (Queiroz et al. 2023), from AIP in Potsdam: for each star it fit, percentiles of its mass, distance, extinction and, where it gives one, its age, with flags on each.
StarHorse gives ages only near the main-sequence turn-off and on the subgiant branch: its age flag is NOAGE for a star elsewhere, a red giant among them, read 2026-11-06 from its data page (sources.yaml).
The archive is the one file, its rows its own, keyed by APOGEE_ID and Gaia's source, not allStar's order. The file writes no units: each unit here is its data page's.
Index ¶
- func New() (*celestialdata.Fixed, error)
- type Catalogue
- type Spread
- type Star
- func (star Star) Age() Spread
- func (star Star) AgeFlag() string
- func (star Star) AgeWarning() string
- func (star Star) AgeWide() (float64, float64)
- func (star Star) Distance() Spread
- func (star Star) Extinction() Spread
- func (star Star) GaiaID() (int64, bool)
- func (star Star) Gravity() float64
- func (star Star) ID() string
- func (star Star) Mass() Spread
- func (star Star) Metals() float64
- func (star Star) OutputFlags() string
- func (star Star) Temperature() float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Catalogue ¶
type Catalogue struct {
// contains filtered or unexported fields
}
Catalogue is the StarHorse file, read as its rows are asked for.
func OpenCatalogue ¶
OpenCatalogue is the catalogue in a StarHorse file. It refuses a file with no binary table, one that lacks a column read, and a column of another kind, of many values a row, or with a unit.
func (*Catalogue) Find ¶
Find is every row whose star is one of the Gaia DR3 sources given, in the file's order. It reads every row, a pass over the whole file; a row with no source is never one asked.
type Spread ¶
type Spread struct {
// contains filtered or unexported fields
}
Spread is a value's 16th, 50th and 84th percentiles.
type Star ¶
type Star struct {
// contains filtered or unexported fields
}
Star is one row of the StarHorse file: the posterior StarHorse found for one star, from its APOGEE spectrum, its photometry and Gaia's parallax. Units are the data page's.
func (Star) Age ¶
Age is the star's age in Gyr, age16, age50 and age84: not a number where AgeFlag is NOAGE.
func (Star) AgeFlag ¶
AgeFlag is the evolutionary stage the age was fit for, MSTO or SGB, or NOAGE where none was, StarHorse_AGEFLAG.
func (Star) AgeWarning ¶
AgeWarning is StarHorse's warning on the age, StarHorse_AGE_INOUT.
func (Star) Extinction ¶
Extinction is the star's extinction in magnitudes at 542 nm, AV16, AV50 and AV84.
func (Star) OutputFlags ¶
OutputFlags is StarHorse's flags on the quality of its results, StarHorse_OUTPUTFLAGS, as the file writes them.
func (Star) Temperature ¶
Temperature is the star's effective temperature in kelvin, teff50.