本文へ移動

Hoshi Stars星

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

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

目次

リファレンス · メシエ天体

DeepSkyObject型

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

One deep-sky object. Positions are J2000 (equator and equinox of 2000), the same frame as Star.

インポート

import type { DeepSkyObject } from "@johnmorrisdotca/hoshi-stars/deep-sky";

ほかのエクスポート元: @johnmorrisdotca/hoshi-stars/deep-sky/ngc-ic

定義

interface DeepSkyObject {
    id: string;
    messier: string | undefined;
    ngc: string | undefined;
    ic: string | undefined;
    otherIds: string[];
    name: string | undefined;
    type: DeepSkyType;
    constellation: string | undefined;
    rightAscension: number;
    declination: number;
    magnitude: number | undefined;
    sizeArcmin: number | undefined;
}

メンバー

名前型説明
idstring

The Messier designation (M31) if the object has one, else the NGC (NGC 7000), else the IC (IC 434). Unique, and a name deepSkyObject finds.

messierstring | undefined

The Messier designation (M31), or undefined.

ngcstring | undefined

The New General Catalogue designation (NGC 224), or undefined. Where an object has several (a duplicate entry, a component), the lowest plain number.

icstring | undefined

The Index Catalogue designation (IC 434), or undefined.

otherIdsstring[]

The object's other NGC and IC designations (NGC 978A, NGC 1051 for the object that is also NGC 961), each one found by deepSkyObject too. Usually empty.

namestring | undefined

The common name where Wikidata's English label is one (Andromeda Galaxy, Crab Nebula), else undefined.

type"other" | "galaxy" | "globular cluster" | "open cluster" | "nebula" | "planetary nebula" | "supernova remnant"

The kind of object.

constellationstring | undefined

The IAU three-letter constellation abbreviation (And), or undefined. It is the same text as Star.constellation.

rightAscensionnumber

Right ascension in degrees at J2000, 0 up to 360. Given to 0.0001 degree (0.36 arc-second).

declinationnumber

Declination in degrees at J2000, -90 to 90. Given to 0.0001 degree.

magnitudenumber | undefined

Visual (V band) magnitude of the whole object, or undefined where there is none (for the Messier objects there always is one). Smaller is brighter: M31 is 3.4.

sizeArcminnumber | undefined

The major axis in arc-minutes, or undefined where it is not known (most NGC and IC objects).

例

import { deepSkyObject, type DeepSkyObject } from "@johnmorrisdotca/hoshi-stars/deep-sky";

const andromeda: DeepSkyObject = deepSkyObject("M31")!;
console.log(andromeda.id, andromeda.ngc, andromeda.name, andromeda.magnitude);
M31 NGC 224 Andromeda Galaxy 3.4

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

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

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