RadiusRow型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
One row of the radius table: a star, its radius in Suns with the error on each side, how it was got, and the paper. how says whether the radius is the paper's own (paper) or was worked out here from numbers
the paper gives (worked-out: the radius of an angular diameter at the paper's distance, or of a luminosity and a temperature by the Stefan-Boltzmann law).
インポート
import type { RadiusRow } from "@johnmorrisdotca/wakusei-planets";
定義
interface RadiusRow {
id: string;
name: {
en: string;
ja: string;
};
radiusSun: number;
minus: number;
plus: number;
basis: RadiusBasis;
how: "paper" | "worked-out";
method: {
en: string;
ja: string;
};
thetaMas?: number;
distancePc?: number;
cite: string;
bibcodes: readonly string[];
read: string;
note?: {
en: string;
ja: string;
};
others?: readonly {
radiusSun: number;
cite: string;
why: {
en: string;
ja: string;
};
}[];
look: Omit<StarNumbers, "radiusSun" | "name" | "estimated">;
temperatureFrom: string;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
id | string | A short key: |
name | { en: string; ja: string; } | |
radiusSun | number | The radius in solar radii (equatorial, for a star that is flattened). |
minus | number | The error below and above the radius, in solar radii, both positive or 0. |
plus | number | |
basis | RadiusBasis | |
how | "paper" | "worked-out" | |
method | { en: string; ja: string; } | One sentence: what was measured and how the radius follows. |
thetaMas (省略可) | number | undefined | The measured angular diameter in milliarcseconds (limb-darkened, or Rosseland where the paper says so), when the radius comes from one. |
distancePc (省略可) | number | undefined | The distance in parsecs when it is the paper's own result and not a catalogue parallax (the catalogue parallaxes of Hipparcos and Gaia are not copied here). |
cite | string | The papers, as a short citation for a label. |
bibcodes | readonly string[] | The ADS bibcodes of the papers the radius and the temperature come from, the first being the radius's. |
read | string | The date the paper was read, |
note (省略可) | { en: string; ja: string; } | undefined | What the literature disagrees about, when it does: it goes on the label and in the guide. |
others (省略可) | readonly { radiusSun: number; cite: string; why: { en: string; ja: string; }; }[] | undefined | Other published radii that are not used, and why. |
look | Omit<StarNumbers, "radiusSun" | "estimated" | "name"> | What the star is drawn from: the temperature, its class and the rest. The radius is filled in from this row. |
temperatureFrom | string | Where the temperature comes from. |
例
import { LINEUP_STARS, type RadiusRow } from "@johnmorrisdotca/wakusei-planets";
const row: RadiusRow = LINEUP_STARS.find((one) => one.id === "betelgeuse")!;
console.log(row.radiusSun, row.bibcodes[0]);1057 2009A&A...508..923H出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。