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/hoshi-stars";
定義
interface Star {
hr: number;
name: string | undefined;
nameJa: string | undefined;
designation: string | undefined;
constellation: string;
rightAscension: number;
declination: number;
magnitude: number;
colourIndex: number | undefined;
spectralClass: string;
properMotionRaMas: number;
properMotionDecMas: number;
parallaxMas: number;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
hr | number | The Bright Star Catalogue (Harvard Revised) number: stable, and the key for |
name | string | undefined | The common name where the star has one (the IAU Working Group on Star Names' spelling), else |
nameJa | string | undefined | The name in katakana ( |
designation | string | undefined | The Bayer letter and constellation ( |
constellation | string | The IAU three-letter constellation abbreviation ( |
rightAscension | number | 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). |
declination | number | Declination in degrees at J2000, -90 to 90. The catalogue gives it to an arc-second. |
magnitude | number | Visual magnitude: smaller is brighter, and Sirius is -1.46. |
colourIndex | number | undefined | The colour index B-V in magnitudes, or |
spectralClass | string | The spectral class and subclass ( |
properMotionRaMas | number | Proper motion in right ascension, in milliarcseconds a year, already multiplied by cos(declination) (a true angle on the sky). |
properMotionDecMas | number | Proper motion in declination, in milliarcseconds a year. |
parallaxMas | number | The annual parallax in milliarcseconds; 0 where the catalogue has none (the distance is then unknown). |
例
import { starByName, type Star } from "@johnmorrisdotca/hoshi-stars";
const sirius: Star = starByName("Sirius")!;
console.log(sirius.designation, sirius.magnitude);α CMa -1.46出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。