本文へ移動

Hoshi Stars星

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

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

目次

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

starProfile関数

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

A star's profile: how hot, how big, how bright, and how dark its edge. The temperature comes from a published scale for its spectral type and luminosity class (or its colour), the luminosity from its brightness, distance and a bolometric correction, the radius from R = sqrt(L) / T² in solar units, and every figure carries its uncertainty. The error of each step is added: the parallax's own error (as the catalogue gives it: a whole milliarcsecond for the Bright Star Catalogue's own parallaxes, 5% for dynamical ones), the temperature scale's scatter and the star's subtype, the bolometric correction, the V magnitude (0.03 mag, more for variable and composite stars), and a guess at unseen dimming by dust (0.3 mag a kiloparsec). The magnitude and colour are not corrected for that dust: a distant star reads a little too faint and too red.

The apparent size of the disc needs no distance, so it is known for every star with a temperature. The radius needs a distance, or falls back on the typical radius of stars of the same type (basis: "type") where the distance is missing or poorer than that. Where neither works the figure is undefined and unknown says why. Nothing is guessed silently.

インポート

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

定義

function starProfile(star: ProfileInput): StarProfile

引数

名前型説明
starProfileInput

A star, or anything with the same fields (build the Sun from its magnitude -26.74 and parallax 206,264,806 mas).

戻り値

StarProfile

The profile.

例

import { starByName } from "@johnmorrisdotca/hoshi-stars";
import { starProfile } from "@johnmorrisdotca/hoshi-stars/profile";

const sirius = starProfile(starByName("Sirius")!);
console.log(sirius.radius?.value.toFixed(2), sirius.radius?.range.map((r) => r.toFixed(2)), sirius.temperature?.value);
1.82 [ '1.70', '1.95' ] 9506.06520725575

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

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

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