NearbyFlagstype
What to be careful about for one star.
Import it
import type { NearbyFlags } from "@johnmorrisdotca/hoshi-stars/nearby";
Definition
interface NearbyFlags {
coarsePosition: boolean;
excludedFromSpace: boolean;
ambiguousMatch: boolean;
}
Members
| Name | Type | Description |
|---|---|---|
coarsePosition | boolean | The position is the Yale catalogue's, carried from 1900 to 2000, not a 2MASS position: see |
excludedFromSpace | boolean | The parallax is 0 or less, so the star has no distance and a query by space leaves it out. |
ambiguousMatch | boolean | The match is not clear: the star may also be one of the bright stars (a bright star lies within 30 arc-seconds), or several 2MASS sources fit it. |
Examples
import { nearbyStarByName, type NearbyFlags } from "@johnmorrisdotca/hoshi-stars/nearby";
const flags: NearbyFlags = nearbyStarByName("Proxima Centauri")!.flags;
console.log(flags.coarsePosition);falseWhat it prints (run when this page was built)