standardMagnitude関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The standard magnitude of a satellite worked out from its size: the brightness, from 1000 km away with half of it lit by the Sun, of a sphere with the same average cross-section that reflects albedo of the light that
falls on it evenly in every direction. It is the model of this package's own, from the Sun's magnitude, and not a measurement: a real satellite is not a sphere (a station is mostly solar panels, which can flash when they catch the Sun), and its
albedo is a guess, so the answer can be a magnitude or two off.
インポート
import { standardMagnitude } from "@johnmorrisdotca/chikyu-earth/passes";
定義
function standardMagnitude(crossSectionM2: number, albedo?: number): number
引数
| 名前 | 型 | 説明 |
|---|---|---|
crossSectionM2 | number | The average area the satellite shows to someone looking at it, in square metres (for a shape with no hollows, a quarter of its whole surface). |
albedo (省略可) | number | The share of the light that falls on it that it sends back, 0 to 1 (0.2 by default, about what dull metal and solar cells do). |
戻り値
number
The standard magnitude: smaller is brighter.
例
import { standardMagnitude } from "@johnmorrisdotca/chikyu-earth/passes";
// a 10 square metre satellite
console.log(standardMagnitude(10).toFixed(1));5.0出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。