リファレンス · 暗い星 (UCAC4の約300万個、12等まで。見ている空の部分のタイルだけを読み込みます)
FAINT_LEVELS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The tile levels, brightest first. A star lies in the first level whose faintest it does not pass, so level 0 holds everything to magnitude 10, level 1 the stars from 10 to 11 and level 2 those from 11 to 12.
A level's tiles are bands of declination bandDegrees high, each cut into as many tiles along right ascension as keep a tile about as wide as it is tall at the edge of the band nearer the equator.
インポート
import { FAINT_LEVELS } from "@johnmorrisdotca/hoshi-stars/faint";
定義
const FAINT_LEVELS: readonly { readonly faintest: number; readonly bandDegrees: number; }[] = [
{ faintest: 10, bandDegrees: 10 },
{ faintest: 11, bandDegrees: 6 },
{ faintest: 12, bandDegrees: 5 },
]
例
import { FAINT_LEVELS } from "@johnmorrisdotca/hoshi-stars/faint";
console.log(FAINT_LEVELS.map((level) => level.faintest)); // [10, 11, 12][ 10, 11, 12 ]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。