StarShapetype
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. Every number is a published measurement, named in source.
Import it
import type { StarShape } from "@johnmorrisdotca/hoshi-stars/profile";
Definition
interface StarShape {
kind: "oblate" | "pole-on";
equatorialRadius: number;
polarRadius: number;
polarTemperatureK: number;
equatorialTemperatureK: number;
inclinationDegrees: number;
positionAngleDegrees: number;
rotationPeriodDays: number | undefined;
source: string;
}
Members
| Name | Type | Description |
|---|---|---|
kind | "oblate" | "pole-on" |
|
equatorialRadius | number | The equatorial radius in solar radii. |
polarRadius | number | The polar radius in solar radii. |
polarTemperatureK | number | The temperature at the poles in kelvin (the poles are hotter: gravity darkening). |
equatorialTemperatureK | number | The temperature at the equator in kelvin. |
inclinationDegrees | number | The angle between the spin axis and the line of sight, in degrees: 0 is pole-on, 90 edge-on. |
positionAngleDegrees | number | The direction of the spin axis on the sky, in degrees from north through east. |
rotationPeriodDays | number | undefined | The spin period in days where the source gives one. |
source | string | The published measurement the numbers are from. |
Examples
import { starShape, type StarShape } from "@johnmorrisdotca/hoshi-stars/profile";
const altair: StarShape | undefined = starShape(7557);
console.log(altair?.equatorialRadius, altair?.polarRadius, altair?.source);2.029 1.634 Monnier et al. 2007, Science 317, 342 (CHARA)What it prints (run when this page was built)