GalaxyDistanceSource型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Where a galaxy's distance was read: a database, its licence, the items of it that were read and how many statements they held.
インポート
import type { GalaxyDistanceSource } from "@johnmorrisdotca/hoshi-stars/deep-sky";
ほかのエクスポート元: @johnmorrisdotca/hoshi-stars/deep-sky/ngc-ic
定義
interface GalaxyDistanceSource {
name: string;
licence: string;
items: string[];
values: number;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
name | string | The database: |
licence | string | The licence the values are given under: |
items | string[] | The database's item numbers for the galaxy ( |
values | number | How many distance statements the median is of (deprecated ones are not counted). |
例
import { deepSkyObject, galaxyDistance, type GalaxyDistanceSource } from "@johnmorrisdotca/hoshi-stars/deep-sky";
const source: GalaxyDistanceSource = galaxyDistance(deepSkyObject("M31")!)!.sources[0]!;
console.log(source.name, source.licence, source.items, source.values);Wikidata CC0 1.0 [ 'Q2469' ] 1出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。