リファレンス · 星のプロファイル (温度・大きさ・光度・円盤の大きさを不確かさつきで、周縁減光、アルタイル・レグルス・ベガの測定された形)
TemperatureBasis型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
How the temperature was found: "spectral type" from a published temperature scale for the star's type and luminosity class, or "colour" from its B-V colour index (a rougher guide, and the only one for a star
whose type is odd or whose class is not stated).
インポート
import type { TemperatureBasis } from "@johnmorrisdotca/hoshi-stars/profile";
定義
type TemperatureBasis = "spectral type" | "colour" | "spectral type and colour";
例
import type { TemperatureBasis } from "@johnmorrisdotca/hoshi-stars/profile";
const basis: TemperatureBasis = "spectral type";
console.log(basis);spectral type出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。