本文へ移動

Wakusei Planets惑星

太陽・惑星・衛星を、線画、陰影つきの絵、表面の地図で描きます。実際の大きさ・傾き・自転つきで、任意の日時の衛星の位置も分かります。

「惑星」(わくせい) は、太陽のまわりを回る大きな星のことです。 名前について(英語)

目次

リファレンス · 望遠鏡なしで見える5,080個の星: 名前、位置、固有運動、距離、色 (gzip で約100 kB)

Star型

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

One star, as the Yale Bright Star Catalogue gives it. Positions are J2000 (equator and equinox of 2000, the FK5 frame, which is the ICRS to a fraction of an arc-second).

インポート

import type { Star } from "@johnmorrisdotca/wakusei-planets/stars";

定義

interface Star {
    hr: number;
    name: string | undefined;
    designation: string | undefined;
    constellation: string | undefined;
    rightAscension: number;
    declination: number;
    magnitude: number;
    colourIndex: number | undefined;
    spectralClass: string;
    properMotionRaMas: number;
    properMotionDecMas: number;
    parallaxMas: number;
}

メンバー

名前型説明
hrnumber

The Bright Star Catalogue (Harvard Revised) number: stable, and the key for starByHr.

namestring | undefined

The common name where the star has one (the IAU Working Group on Star Names' spelling), else undefined.

designationstring | undefined

The Bayer letter and constellation (α CMa), else the Flamsteed number and constellation (9 CMa), else undefined.

constellationstring | undefined

The IAU three-letter constellation abbreviation (CMa) where the star has a Bayer or Flamsteed name, else undefined.

rightAscensionnumber

Right ascension in degrees at J2000, 0 up to 360. The catalogue gives it to a tenth of a second of time (1.5 arc-seconds at the equator).

declinationnumber

Declination in degrees at J2000, -90 to 90. The catalogue gives it to an arc-second.

magnitudenumber

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

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.

spectralClassstring

The spectral class and subclass (A1, K1), or an empty string where the catalogue gives none we read.

properMotionRaMasnumber

Proper motion in right ascension, in milliarcseconds a year, already multiplied by cos(declination) (a true angle on the sky).

properMotionDecMasnumber

Proper motion in declination, in milliarcseconds a year.

parallaxMasnumber

The annual parallax in milliarcseconds; 0 where the catalogue has none (the distance is then unknown).

例

import { starByName, type Star } from "@johnmorrisdotca/wakusei-planets/stars";

const sirius: Star = starByName("Sirius")!;
console.log(sirius.designation, sirius.magnitude);
α CMa -1.46

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

ソースを見るGitHub で編集@johnmorrisdotca/wakusei-planets 0.24.0 のソースから作成しました。

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