リファレンス · 星のプロファイル (温度・大きさ・光度・円盤の大きさを不確かさつきで、周縁減光、アルタイル・レグルス・ベガの測定された形)
ProfileInput型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What starProfile reads of a star: a Star has all of it, and so does anything built by hand (the Sun).
インポート
import type { ProfileInput } from "@johnmorrisdotca/hoshi-stars/profile";
定義
type ProfileInput = Pick<Star, "magnitude" | "colourIndex" | "spectralType" | "luminosityClass" | "parallaxMas" | "parallaxErrorMas" | "parallaxSource"> & {
hr?: number | undefined;
};
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
magnitude | number | Visual magnitude: smaller is brighter, and Sirius is -1.46. |
parallaxMas | number | The annual parallax in milliarcseconds, to a tenth where |
parallaxErrorMas | number | undefined | The standard error of |
parallaxSource | "GCTP" | "BSC" | "dynamical" | "literature" | undefined | Where the parallax is from: |
colourIndex | number | undefined | The colour index B-V in magnitudes, or |
spectralType | string | The spectral type as the catalogue gives it, whole ( |
luminosityClass | LuminosityClass | undefined | The luminosity class in |
hr (省略可) | number | undefined |
例
import { starProfile, type ProfileInput } from "@johnmorrisdotca/hoshi-stars/profile";
const sun: ProfileInput = { magnitude: -26.74, colourIndex: 0.65, spectralType: "G2V", luminosityClass: "V", parallaxMas: 206_264_806.2, parallaxErrorMas: 1, parallaxSource: "GCTP" };
console.log(starProfile(sun).radius?.value.toFixed(2));1.00出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。