本文へ移動

Hoshi Stars星

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

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

目次

リファレンス · 星のプロファイル (温度・大きさ・光度・円盤の大きさを不確かさつきで、周縁減光、アルタイル・レグルス・ベガの測定された形)

ProfileInput型

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

What starProfile reads of a star: a Star has all of it, and so does anything built by hand (the Sun).

インポート

import type { ProfileInput } from "@johnmorrisdotca/hoshi-stars/profile";

定義

type ProfileInput = Pick<Star, "magnitude" | "colourIndex" | "spectralType" | "luminosityClass" | "parallaxMas" | "parallaxErrorMas" | "parallaxSource"> & {
    hr?: number | undefined;
};

メンバー

名前型説明
magnitudenumber

Visual magnitude: smaller is brighter, and Sirius is -1.46.

parallaxMasnumber

The annual parallax in milliarcseconds, to a tenth where parallaxSource is "GCTP" (to a hundredth where it is "literature") and to a whole milliarcsecond otherwise; 0 where there is none (the distance is then unknown).

parallaxErrorMasnumber | undefined

The standard error of parallaxMas in milliarcseconds, or undefined where there is none: the Bright Star Catalogue states no error, so it is only given for a parallax from the Yale parallax catalogue or a published paper ("literature"). For the stars with a parallaxNote that says the error was widened, it is at least the parallax.

parallaxSource"GCTP" | "BSC" | "dynamical" | "literature" | undefined

Where the parallax is from: "GCTP" the Yale General Catalogue of Trigonometric Stellar Parallaxes (a measurement with an error), "BSC" the Bright Star Catalogue's trigonometric one, "dynamical" the Bright Star Catalogue's dynamical one (from the orbit of a binary), "literature" a distance typed from a published paper for a star whose catalogue parallax is poor (Betelgeuse, Rigel, Polaris; parallaxNote names it); undefined where there is none.

colourIndexnumber | undefined

The colour index B-V in magnitudes, or undefined where the catalogue has none. Hot blue stars are about -0.3, the Sun 0.65, cool red stars above 1.5.

spectralTypestring

The spectral type as the catalogue gives it, whole (M1-2Ia-Iab for Betelgeuse, A0Va for Vega, K1.5IIIFe-0.5); never empty for these 5,080.

luminosityClassLuminosityClass | undefined

The luminosity class in spectralType (Ia for Betelgeuse, V for Sirius and Vega): a supergiant, giant or dwarf. The first class where a range is given; undefined where the type states none (Am, K0).

hr (省略可)number | undefined

例

import { starProfile, type ProfileInput } from "@johnmorrisdotca/hoshi-stars/profile";

const sun: ProfileInput = { magnitude: -26.74, colourIndex: 0.65, spectralType: "G2V", luminosityClass: "V", parallaxMas: 206_264_806.2, parallaxErrorMas: 1, parallaxSource: "GCTP" };
console.log(starProfile(sun).radius?.value.toFixed(2));
1.00

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

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

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