本文へ移動

Hoshi Stars星

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

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

目次

リファレンス · 確認された系外惑星をもつ、訪ねてみたい星 (位置・距離、惑星ごとの名前と公転周期)

ExoplanetHost型

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

One host star with its planets.

インポート

import type { ExoplanetHost } from "@johnmorrisdotca/hoshi-stars/exoplanet-hosts";

定義

interface ExoplanetHost {
    id: string;
    name: string;
    nameJa: string | undefined;
    designation: string;
    archiveName: string;
    aliases: readonly string[];
    constellation: string;
    rightAscension: number;
    declination: number;
    positionErrorArcsec: number | undefined;
    lightYears: number;
    lightYearsError: number;
    spectralType: string | undefined;
    luminosityClass: LuminosityClass | undefined;
    magnitude: number | undefined;
    nearStarId: string | undefined;
    selection: ExoplanetHostSelection;
    planetCount: number;
    planets: readonly Exoplanet[];
    references: readonly string[];
    sources: {
        position: ExoplanetHostSource;
        distance: "GCTP" | "BSC" | "dynamical" | "typed";
        spectralType: ExoplanetHostSource | undefined;
        magnitude: ExoplanetHostSource | undefined;
        planets: "NASA Exoplanet Archive";
    };
}

メンバー

名前型説明
idstring

A key that stays the same: proxima-cen, trappist-1.

namestring

The star's name (Proxima Centauri, Helvetios, GJ 876).

nameJastring | undefined

The name in Japanese where known, else undefined.

designationstring

The star's designation with Greek letters where it has one (ε Eri, Proxima Cen), the same form as in /near-stars.

archiveNamestring

The name the NASA Exoplanet Archive gives the host (eps Eri, Proxima Cen).

aliasesreadonly string[]

Other spellings that find the host (ヘルヴェティオス for Helvetios).

constellationstring

The IAU three-letter constellation abbreviation the star lies in.

rightAscensionnumber

Right ascension in degrees at J2000, 0 up to 360.

declinationnumber

Declination in degrees at J2000, -90 to 90.

positionErrorArcsecnumber | undefined

The error of the position in arc-seconds where the table gives one, else undefined.

lightYearsnumber

The distance in light-years, known to 10% or better.

lightYearsErrornumber

The error of lightYears.

spectralTypestring | undefined

The spectral type, or undefined where the source gives none.

luminosityClassLuminosityClass | undefined

The luminosity class in spectralType, or undefined.

magnitudenumber | undefined

The V magnitude, or undefined.

nearStarIdstring | undefined

The id of the system in @johnmorrisdotca/hoshi-stars/near-stars that holds this star, where it is within 20 light-years, else undefined.

selectionExoplanetHostSelection

Why the star is in the table.

planetCountnumber

The number of confirmed planets in planets.

planetsreadonly Exoplanet[]

The confirmed planets (not flagged controversial), by letter.

referencesreadonly string[]

Papers behind the typed values, empty for the others.

sources{ position: ExoplanetHostSource; distance: "GCTP" | "BSC" | "dynamical" | "typed"; spectralType: ExoplanetHostSource | undefined; magnitude: ExoplanetHostSource | undefined; planets: "NASA Exoplanet Archive"; }

Where each value comes from.

例

import { exoplanetHostByName, type ExoplanetHost } from "@johnmorrisdotca/hoshi-stars/exoplanet-hosts";

const host: ExoplanetHost = exoplanetHostByName("TRAPPIST-1")!;
console.log(host.name, host.planetCount, host.lightYears.toFixed(1));
TRAPPIST-1 7 39.5

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

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

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