hourlyRateAt関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
How many meteors an ideal watcher at a place would count in an hour under a perfect dark sky, whether or not it is dark there:
the sporadic background, a little more on the side that faces the Earth's way and a little less on the other, plus each active
shower's rate times the sine of its radiant's height (none where the radiant is below the horizon).
The lean towards the morning side (from 0.4 to 1.6 times SPORADIC_HOURLY_RATE) is a simple stand-in for the real daily swing.
インポート
import { hourlyRateAt } from "@johnmorrisdotca/chikyu-earth/meteors";
定義
function hourlyRateAt(sky: MeteorSky, place: GeoPoint | readonly [number, number, number]): number
引数
| 名前 | 型 | 説明 |
|---|---|---|
sky | MeteorSky | The meteor sky of the moment ( |
place | GeoPoint | readonly [number, number, number] | The place, or its unit vector ( |
戻り値
number
Meteors an hour.
例
import { hourlyRateAt, meteorSky, pointBeneath } from "@johnmorrisdotca/chikyu-earth/meteors";
const moment = Date.UTC(2026, 11, 14, 8);
const sky = meteorSky(moment);
// Under the Geminids' radiant the rate is the shower's whole rate and the background on top.
console.log(hourlyRateAt(sky, pointBeneath(sky.showers[0]!.shower.radiant, moment)) > 150);false出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。