PickAccuracy型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The grade and the ± of a picked star: what hoshi-pick carries in accuracy for a star.
インポート
import type { PickAccuracy } from "@johnmorrisdotca/hoshi-stars/chart";
定義
interface PickAccuracy {
grade: StarGrade;
lightYearsRange: readonly [
number,
number
] | null;
positionResolutionArcsec: number;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
grade | StarGrade | The star's grade, A, B or C, by the rule in |
lightYearsRange | readonly [number, number] | null | The nearest and the farthest the distance can be, in light-years, within one standard error of the parallax (the farthest is |
positionResolutionArcsec | number | The size of the last digit of the star's position, in arc-seconds: a floor on its error, not an estimate of it. |
例
import { starByName } from "@johnmorrisdotca/hoshi-stars";
import { pickAccuracy, type PickAccuracy } from "@johnmorrisdotca/hoshi-stars/chart";
const sirius: PickAccuracy = pickAccuracy(starByName("Sirius")!);
console.log(sirius.grade, sirius.lightYearsRange, sirius.positionResolutionArcsec);A [ 8.498081753517456, 8.596636207169214 ] 1.436612480278141出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。