starShapefunction
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. Others return undefined.
Import it
import { starShape } from "@johnmorrisdotca/hoshi-stars/profile";
Definition
function starShape(hr: number): StarShape | undefined
Parameters
| Name | Type | Description |
|---|---|---|
hr | number | The Bright Star Catalogue number. |
Returns
StarShape | undefined
The measured shape, or undefined.
Examples
import { starShape } from "@johnmorrisdotca/hoshi-stars/profile";
console.log(starShape(3982)?.equatorialRadius, starShape(2491));4.16 undefinedWhat it prints (run when this page was built)