リファレンス · 20光年以内の73の星系 (英語と日本語の名前、位置、距離、伴星、値ごとの出典つき)
NearStarSources型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Where each value of a system comes from.
インポート
import type { NearStarSources } from "@johnmorrisdotca/hoshi-stars/near-stars";
定義
interface NearStarSources {
position: NearStarSource;
distance: NearStarDistanceSource;
spectralType: NearStarSource | undefined;
magnitude: NearStarSource | undefined;
properMotion: NearStarSource | undefined;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
position | NearStarSource | The right ascension and declination: |
distance | NearStarDistanceSource | The parallax and the distance. |
spectralType | NearStarSource | undefined | The spectral type, or |
magnitude | NearStarSource | undefined | The V magnitude, or |
properMotion | NearStarSource | undefined | The proper motion, or |
例
import { nearStarByName, type NearStarSources } from "@johnmorrisdotca/hoshi-stars/near-stars";
const sources: NearStarSources = nearStarByName("Barnard's Star")!.sources;
console.log(sources.position, sources.distance, sources.magnitude);2MASS GCTP GCTP出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。