リファレンス · 近くの星 (プロキシマ・ケンタウリ、バーナード星など約5,600個、距離と誤差つき)
NearbyFlags型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What to be careful about for one star.
インポート
import type { NearbyFlags } from "@johnmorrisdotca/hoshi-stars/nearby";
定義
interface NearbyFlags {
coarsePosition: boolean;
excludedFromSpace: boolean;
ambiguousMatch: boolean;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
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. |
例
import { nearbyStarByName, type NearbyFlags } from "@johnmorrisdotca/hoshi-stars/nearby";
const flags: NearbyFlags = nearbyStarByName("Proxima Centauri")!.flags;
console.log(flags.coarsePosition);false出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。