本文へ移動

Hoshi Stars星

肉眼で見える星の名前・色・距離、88星座の線と境界、メシエ天体、そしてそれらを描くための7種類の図法を使えます。

「星」(ほし) は、夜空に光って見えるものです。 名前について(英語)

目次

リファレンス · 星ごとの値の確かさ (位置・明るさ・色・視差・固有運動の出典と誤差、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;
}

メンバー

名前型説明
sourceAccuracySource | undefined

Where the value is from, or undefined where the star has no such value (no parallax, no colour, no proper motion).

errornumber | undefined

The standard error in unit, as the source states it or as the package works it out from the source's figures (note says which); undefined where there is none.

resolutionnumber | undefined

The size of the last digit the source prints, in unit. A floor on the error, never an estimate of it; undefined where there is no value.

unit"arcsec" | "mag" | "mas" | "mas/yr"

The unit of error and resolution: arcsec, mag, mas or mas/yr.

notestring | undefined

One plain sentence on what to be careful about, or undefined where there is nothing to add.

例

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

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/hoshi-stars 0.47.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。