本文へ移動

Hoshi Stars星

肉眼で見える星の名前・色・距離、88星座の線と境界、メシエ天体、そしてそれらを描くための7種類の図法を使えます。

「星」(ほし) は、夜空に光って見えるものです。 名前について(英語)

目次

リファレンス

今夜見える星 (場所と時刻から、地平線の上にあり、太陽の光・空の明るさ・大気の減光のあとでも見える星を、薄明の種類、高度と方位、見やすさつきで)

import { … } from "@johnmorrisdotca/hoshi-stars/tonight";

最小化と gzip 圧縮をしたサイズは 128.8 kB(読み込むものをすべて含み、esbuild で計測)

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

エクスポート

名前種類概要
airmass関数The airmass of the line of sight at an altitude, by Kasten and Young (1989): 1 at the zenith, 2 at 30 degrees, about 38 at the horizon.
Ease型How easy a star is to see: "easy" (at least a magnitude brighter than the sky's limit), "needs dark adaptation" (within a magnitude of the limit: give the eyes twenty minutes without a light) or "not tonight" (above the horizon but fainter than the limit, or in the day).
SKY_LIMITS定数The naked-eye limiting magnitude of each preset, at the zenith with the Sun well down: round figures of our own, each near the naked-eye limits of the Bortle classes it stands for: a city centre (classes 8 to 9), a suburb (6 to 7), a country site (4 to 5) and a dark site (2 to 3).
SkyLimit型The darkness of the site, as a preset or a limiting magnitude: the faintest star seen at the zenith in the dark.
sunAltitude関数The Sun's altitude over a place at a moment, in degrees (geometric: the centre of the disc, no refraction).
sunPosition関数The Sun's right ascension and declination of date, in degrees, from the Almanac's low-precision formula (0.01 degree from 1950 to 2050).
TonightOptions型What the sky is like: all of it optional.
TonightSky型The answer to "what can I see from here, now".
Twilight型How dark the sky is by the Sun's altitude: "day" (the Sun's upper edge up, -0.833 degrees or higher), "civil" twilight (down to -6), "nautical" (down to -12), "astronomical" (down to -18) and "night".
twilightOf関数The kind of twilight for a Sun altitude: "day" above -0.833 degrees (the upper edge on the horizon, with refraction), "civil" to -6, "nautical" to -12, "astronomical" to -18, then "night".
VisibleStar型A star above the horizon and how it looks from there.
visibleStars関数The stars you can see from a place at a moment: above the horizon (or minAltitude), with the Sun low enough, and brighter than the sky's limit once the air has dimmed them (airmass, 0.2 magnitude an airmass above the zenith's one).

ソースを見るGitHub で編集@johnmorrisdotca/hoshi-stars 0.47.0 のソースから作成しました。

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