本文へ移動

Hoshi Stars星

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

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

目次

リファレンス · 自分の空 (場所と時刻から高度と方位)

precess関数

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

A J2000 position carried to the mean equator and equinox of a date: the precession of the Earth's axis (Meeus chapter 21, the rigorous method with the IAU 1976 constants, good for a few centuries either side of 2000 to far under an arc-second). It leaves out the star's own proper motion (which starPosition adds), nutation and aberration, together under a minute of arc.

インポート

import { precess } from "@johnmorrisdotca/hoshi-stars/sky";

定義

function precess(position: SkyPoint, when: When): SkyPoint

引数

名前型説明
positionSkyPoint

A right ascension and declination in degrees at J2000.

whenWhen

The date to carry it to.

戻り値

SkyPoint

The right ascension (0 up to but not including 360) and declination in degrees.

例

import { precess } from "@johnmorrisdotca/hoshi-stars/sky";

// Meeus example 21.b: theta Persei, carried to 2028 November 13.19 (about 15 minutes of arc east in right ascension)
const there = precess({ rightAscension: 41.054063, declination: 49.227750 }, Date.UTC(2028, 10, 13, 4, 33, 36));
console.log(there.rightAscension.toFixed(3), there.declination.toFixed(3)); // 41.547 49.348
41.547 49.348

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

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

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