本文へ移動

Chikyu Earth地球

世界の国の輪郭を線で描いた地球儀です。地球と同じ速さで回ります。宇宙から見たような地球と、好きな場所の目印も使えます。

「地球」(ちきゅう) は、私たちが住む星の名前です。 名前について(英語)

目次

リファレンス · 通過: 衛星が場所の空を通る時刻

magnitude関数

リファレンスの説明と例は英語です。見出しと目次は日本語です。

The apparent magnitude of a satellite, treating it as a sphere that reflects light evenly: the standard magnitude, dimmed by the distance (5 magnitudes for every tenfold) and by how little of it the Sun lights from where the watcher stands (the phase angle, 0 when the Sun is behind the watcher and the satellite is fully lit, 180 degrees when it is all dark). A smaller number is brighter; Sirius, the brightest star, is about -1.5 and the naked eye reaches about 6. The standard magnitude is the brightness from 1000 km with half of the satellite lit, the convention satellite observers use, and the phase function is that of a diffuse sphere.

インポート

import { magnitude } from "@johnmorrisdotca/chikyu-earth/passes";

定義

function magnitude(standard: number, rangeKm: number, phaseDeg: number): number

引数

名前型説明
standardnumber

The standard magnitude (at 1000 km, half lit).

rangeKmnumber

The distance from the watcher to the satellite.

phaseDegnumber

The angle, in degrees, at the satellite between the Sun and the watcher (0 to 180).

戻り値

number

The magnitude (positive infinity when the satellite is unlit: a phase of 180 degrees).

例

import { magnitude } from "@johnmorrisdotca/chikyu-earth/passes";

// a satellite of standard magnitude -1 straight overhead (420 km) with the Sun at right angles to the view
console.log(magnitude(-1, 420, 90).toFixed(1));
-2.9

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/chikyu-earth 0.51.1 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。