リファレンス · 印刷するシート: 星座の点つなぎ、緯度に合わせた星座、切り抜きの星の回転盤、月ごとの星空の地図
skyForLatitude関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Every constellation as a place at a latitude sees it, best known first: always up (every star of its figure above the horizon all night, all year), never seen (no star of its figure ever rises) or seasonal, with the month it is
highest in the evening sky (about 21:00 by the Sun on the 15th) and how high it climbs. Pass a month to keep only the ones above 15 degrees in the evening sky of that month and the ones always up.
インポート
import { skyForLatitude } from "@johnmorrisdotca/hoshi-stars/sheets";
定義
function skyForLatitude(latitude: number, month?: number): RegionEntry[]
引数
| 名前 | 型 | 説明 |
|---|---|---|
latitude | number | Degrees north of the equator (negative south), -90 to 90. |
month (省略可) | number | undefined | 1 to 12, to list what is up in that evening; leave it out for all 88. |
戻り値
RegionEntry[]
The entries, best known first.
例
import { skyForLatitude } from "@johnmorrisdotca/hoshi-stars/sheets";
const sydney = skyForLatitude(-33.9);
console.log(sydney.find((one) => one.constellation.abbreviation === "UMi")?.standing, sydney.find((one) => one.constellation.abbreviation === "Cru")?.standing);never always出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。