greenwichSiderealTime関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The Greenwich mean sidereal time: how far the Earth has turned against the stars, as the right ascension on the meridian of Greenwich, in degrees (Meeus 12.4, the IAU 1982 expression). It uses UT, which is UTC to under a second, and is the mean time, without the nutation term (at most about 1.1 seconds of time, 17 arc-seconds).
インポート
import { greenwichSiderealTime } from "@johnmorrisdotca/hoshi-stars/sky";
定義
function greenwichSiderealTime(when: When): number
引数
| 名前 | 型 | 説明 |
|---|---|---|
when | When | The moment, a |
戻り値
number
Degrees, 0 up to but not including 360. Divide by 15 for hours.
例
import { greenwichSiderealTime } from "@johnmorrisdotca/hoshi-stars/sky";
// Meeus example 12.a: 1987 April 10 at 0h UT is 13h10m46.3668s, 197.693195 degrees
console.log(greenwichSiderealTime(Date.UTC(1987, 3, 10)).toFixed(6));197.693195出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。