リファレンス · 星ごとの値の確かさ (位置・明るさ・色・視差・固有運動の出典と誤差、A・B・Cの等級)
FieldAccuracy型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What is known about one value of a star.
インポート
import type { FieldAccuracy } from "@johnmorrisdotca/hoshi-stars/accuracy";
定義
interface FieldAccuracy {
source: AccuracySource | undefined;
error: number | undefined;
resolution: number | undefined;
unit: "arcsec" | "mag" | "mas" | "mas/yr";
note: string | undefined;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
source | AccuracySource | undefined | Where the value is from, or |
error | number | undefined | The standard error in |
resolution | number | undefined | The size of the last digit the source prints, in |
unit | "arcsec" | "mag" | "mas" | "mas/yr" | The unit of |
note | string | undefined | One plain sentence on what to be careful about, or |
例
import { starByName } from "@johnmorrisdotca/hoshi-stars";
import { starAccuracy, type FieldAccuracy } from "@johnmorrisdotca/hoshi-stars/accuracy";
const parallax: FieldAccuracy = starAccuracy(starByName("Sirius")!).parallax;
console.log(parallax.source, parallax.error, parallax.unit);GCTP 2.2 mas出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。