リファレンス
確認された系外惑星をもつ、訪ねてみたい星 (位置・距離、惑星ごとの名前と公転周期)
import { … } from "@johnmorrisdotca/hoshi-stars/exoplanet-hosts";
最小化と gzip 圧縮をしたサイズは 8.6 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
Exoplanet | 型 | One confirmed planet, as the NASA Exoplanet Archive gives it. |
EXOPLANET_ARCHIVE_ACKNOWLEDGEMENT | 定数 | The acknowledgement the NASA Exoplanet Archive asks for in anything that uses its data. |
EXOPLANET_HOST_LIMIT_LY | 定数 | The distance within which every host star with a known distance is in the table, in light-years. |
ExoplanetHost | 型 | One host star with its planets. |
exoplanetHostByName | 関数 | A host by a name, ignoring case and extra spaces: its name, its Japanese name, the Archive's name for it (Proxima Cen) or the name of one of its planets (TRAPPIST-1 e). |
exoplanetHosts | 関数 | The host stars of confirmed exoplanets, nearest first: the stars within 50 light-years whose distance the Yale tables give to 10% or better, the stars with an IAU proper name among those, and TRAPPIST-1. |
ExoplanetHostSelection | 型 | Why a host is in the table: "near" (within 50 light-years), "named" (a star with an IAU proper name, farther) or "typed" (TRAPPIST-1, whose distance is typed from its papers). |
ExoplanetHostSource | 型 | Where a value of a host star comes from: "BSC" the Yale Bright Star Catalogue, "GCTP" the Yale General Catalogue of Trigonometric Stellar Parallaxes, "2MASS" the Two Micron All Sky Survey, or "typed" a published value typed into the package (TRAPPIST-1's parallax, from its papers). |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。