DistanceQualitytype
How well a star's distance is known, from its parallax and the error the catalogue states:
good (the error is under 5% of the parallax), fair (5% to 20%, or a dynamical parallax from a binary's orbit), rough (over 20%, or a parallax with no stated error) and none (no parallax: the distance is unknown).
Import it
import type { DistanceQuality } from "@johnmorrisdotca/hoshi-stars/constellation-3d";
Also exported from: @johnmorrisdotca/hoshi-stars/accuracy
Definition
type DistanceQuality = "good" | "fair" | "rough" | "none";
Examples
import { type DistanceQuality } from "@johnmorrisdotca/hoshi-stars/constellation-3d";
const kinds: DistanceQuality[] = ["good", "fair", "rough", "none"];
console.log(kinds.join(", "));good, fair, rough, noneWhat it prints (run when this page was built)