本文へ移動

Hoshi Stars星

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

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

目次

リファレンス · 暗い星 (UCAC4の約300万個、12等まで。見ている空の部分のタイルだけを読み込みます)

FaintStar型

リファレンスの説明と例は英語です。見出しと目次は日本語です。

One faint star.

インポート

import type { FaintStar } from "@johnmorrisdotca/hoshi-stars/faint";

定義

interface FaintStar {
    rightAscension: number;
    declination: number;
    magnitude: number;
    colourIndex: number | undefined;
}

メンバー

名前型説明
rightAscensionnumber

Right ascension in degrees at J2000 (the ICRS), 0 up to 360, good to a fraction of an arc-second.

declinationnumber

Declination in degrees at J2000, -90 to 90.

magnitudenumber

The magnitude to 0.05: APASS DR10's V for a bright star it holds (V 7.0 to 10.2, south of declination +20.0), else APASS V as UCAC4 carries it where it is APASS's own, else UCAC4's own model magnitude (between V and R). Smaller is brighter.

colourIndexnumber | undefined

B-V in magnitudes from APASS, to 0.0125, or undefined where UCAC4 has no APASS B and V for the star (about one star in ten).

例

import type { FaintStar } from "@johnmorrisdotca/hoshi-stars/faint";

const show = (star: FaintStar): string => `${star.magnitude.toFixed(2)} at ${star.rightAscension.toFixed(4)}, ${star.declination.toFixed(4)}`;
console.log(show({ rightAscension: 83.8, declination: -5.4, magnitude: 11.2, colourIndex: 0.7 }));
11.20 at 83.8000, -5.4000

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

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

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