本文へ移動

Hoshi Stars星

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

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

目次

リファレンス · /chart

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;
}

メンバー

名前型説明
gradeStarGrade

The star's grade, A, B or C, by the rule in /accuracy.

lightYearsRangereadonly [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 Infinity where the error is as large as the parallax); null where the star has no distance or the parallax has no stated error.

positionResolutionArcsecnumber

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

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

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

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