リファレンス · 20光年以内の73の星系 (英語と日本語の名前、位置、距離、伴星、値ごとの出典つき)
NearStarDistanceSource型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Where the distance comes from: "GCTP" a measured parallax with an error, "BSC" the Bright Star Catalogue's own trigonometric parallax, or "dynamical" its parallax from the orbit of a binary.
インポート
import type { NearStarDistanceSource } from "@johnmorrisdotca/hoshi-stars/near-stars";
定義
type NearStarDistanceSource = "GCTP" | "BSC" | "dynamical";
例
import { nearStarByName, type NearStarDistanceSource } from "@johnmorrisdotca/hoshi-stars/near-stars";
const source: NearStarDistanceSource = nearStarByName("Sirius")!.sources.distance;
console.log(source);GCTP出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。