リファレンス · 星ごとの値の確かさ (位置・明るさ・色・視差・固有運動の出典と誤差、A・B・Cの等級)
starAccuracy関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
How well each value of a star is known, and its grade. The grade is a rule on the stated figures, not a verdict on the star: A a distance known to under 5% and a modern position (an error, or where none is stated a resolution, of 2 arc-seconds or less), B a distance known to 20% or better, C anything else (a position and a rough distance, or no distance). A parallax with no stated error is never better than rough, except a dynamical one, which is fair. Sirius is grade A, Betelgeuse (a paper's distance, known to about 14%) is grade B and Rigel (a range of 590 to 1,480 light-years) is grade C.
インポート
import { starAccuracy } from "@johnmorrisdotca/hoshi-stars/accuracy";
定義
function starAccuracy(star: Star | NearbyStar): StarAccuracy
引数
| 名前 | 型 | 説明 |
|---|---|---|
star | Star | NearbyStar | A bright star (from |
戻り値
StarAccuracy
The record: the tier, the grade and, for position, magnitude, colour, parallax and proper motion, the source, the error and the resolution.
例
import { starByName } from "@johnmorrisdotca/hoshi-stars";
import { starAccuracy } from "@johnmorrisdotca/hoshi-stars/accuracy";
const sirius = starAccuracy(starByName("Sirius")!);
console.log(sirius.grade, sirius.parallax.source, sirius.distance.quality, starAccuracy(starByName("Rigel")!).grade);A GCTP good C出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。