Reference
A star's profile: temperature, size, luminosity and disc size with their uncertainty, limb darkening, and the measured shapes of Altair, Regulus and Vega
import { … } from "@johnmorrisdotca/hoshi-stars/profile";
17.1 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
Estimate | type | A number with its uncertainty: the value, one standard error of it, and the range that error spans. |
ProfileInput | type | What starProfile reads of a star: a Star has all of it, and so does anything built by hand (the Sun). |
RadiusBasis | type | Where the radius comes from: "parallax" is worked out for this star from its distance, brightness and temperature; "type" is the typical radius of stars of its spectral type, used when the star's own distance is missing or too uncertain to beat it. |
starProfile | function | A star's profile: how hot, how big, how bright, and how dark its edge. |
StarProfile | type | What the catalogue and the published tables say about one star's body. |
starRotation | function | The Bright Star Catalogue's projected rotation speed (v sin i) of a star, if it gives one. |
StarRotation | type | How fast a star spins, as the Bright Star Catalogue gives it: the projected speed of its equator, v sin i. |
starShape | function | The published shape measurement of a star, if it has one: Altair (HR 7557) and Regulus (HR 3982) are flattened by their spin, Vega (HR 7001) is seen nearly pole-on. |
StarShape | type | The shape of a star that was measured and is not a ball: Altair and Regulus are flattened by their spin, and Vega is seen from over its pole. |
TemperatureBasis | type | How the temperature was found: "spectral type" from a published temperature scale for the star's type and luminosity class, or "colour" from its B-V colour index (a rougher guide, and the only one for a star whose type is odd or whose class is not stated). |
Unknown | type | Why a figure in a profile could not be worked out, so a page can say it plainly: "no-colour-or-type" the catalogue gives no colour and no usable type, "no-parallax" no parallax, "poor-parallax" a parallax whose error is half of it or more, "implausible-parallax" a parallax that gives a size no star of that kind has, "no-typical-radius" no typical size is published for the type, "no-class" no luminosity class, "odd-type" a type the scales do not cover (carbon, S, Wolf-Rayet, white dwarf). |