本文へ移動

Chikyu Earth地球

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

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

目次

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

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

引数

名前型説明
crossSectionM2number

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

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

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

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