リファレンス
星ごとの値の確かさ (位置・明るさ・色・視差・固有運動の出典と誤差、A・B・Cの等級)
import { … } from "@johnmorrisdotca/hoshi-stars/accuracy";
最小化と gzip 圧縮をしたサイズは 1.5 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
AccuracySource | 型 | Where a value is from: BSC the Yale Bright Star Catalogue, GCTP the Yale General Catalogue of Trigonometric Stellar Parallaxes, 2MASS the Two Micron All Sky Survey, dynamical the Bright Star Catalogue's parallax from the orbit of a binary, literature a distance typed from a published paper (Betelgeuse, Rigel, Polaris). |
checkGrade | 関数 | Whether a value is a grade: "A", "B" or "C". |
DistanceAccuracy | 型 | The distance of a star in numbers: what the parallax's error makes of it. |
DistanceQuality | 型 | How well a star's distance is known, from its parallax and the error the catalogue states: good (the error is under 5% of the parallax), fair (5% to 20%, or a dynamical parallax from a binary's orbit), rough (over 20%, or a parallax with no stated error) and none (no parallax: the distance is unknown). |
FieldAccuracy | 型 | What is known about one value of a star. |
GRADE_RULES | 定数 | The numbers the grade is decided by: a distance is good under distance.good of the parallax and fair up to distance.fair (the same bands as distanceQuality), and a position is modern when its error, or its resolution where it has no stated error, is at most modernPositionArcsec. |
gradeAtLeast | 関数 | Whether a grade is at least as good as another: A is at least B, and B is at least B, but C is not at least B. |
STAR_GRADES | 定数 | The grades, best first. |
starAccuracy | 関数 | How well each value of a star is known, and its grade. |
StarAccuracy | 型 | Everything starAccuracy says of one star. |
starGrade | 関数 | A star's grade alone, worked out without building the whole record: the same answer as starAccuracy(star).grade, cheap enough to filter thousands of stars with. |
StarGrade | 型 | The grade of a star: A a distance known to under 5% and a modern position, B a distance known to 20% or better (or one known to under 5% with a coarse position), C anything else: a position and a rough or missing distance. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。