本文へ移動

Hoshi Stars星

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

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

目次

リファレンス · ほかの星から見た空 (そこから見た位置・距離・明るさ。太陽も星のひとつ)

skyFrom関数

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

The sky as seen from another star or point in space. Each star with a distance is placed in three dimensions from its position and parallax, the viewpoint is subtracted, and what is left is its direction and distance from there; its apparent magnitude is m' = M + 5 log10(d' / 10 parsecs) from its absolute magnitude M. The Sun is among the stars (absolute magnitude 4.83, colour index 0.65): from Alpha Centauri it is a star of magnitude 0.5 in Cassiopeia. The directions are on the same J2000 axes as the Earth's sky, so a chart from there can use the same projections.

Only a star with a distance can be moved, so the 2,517 of the 5,080 bright stars with no parallax are left out and counted in skipped, and a star too faint to be in the table from the Sun is missing even if it would be bright from the viewpoint. The viewpoint star itself is left out, and so is a star nearer to the viewpoint than the error of the viewpoint's own distance (the other star of Alpha Centauri is 0.00004 light-years away by the positions, and the distance is good to 0.03: where it is from there is not known); it is counted in skipped. Distances from the parallaxes have errors (starDistance gives them): a star near the viewpoint, with a distance no better than its own error, can be anywhere. Positions are J2000 and are not carried by proper motion.

インポート

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

定義

function skyFrom(viewpoint: SkyFromViewpoint, options?: SkyFromOptions): SeenSky

引数

名前型説明
viewpointSkyFromViewpoint

A star, a nearby star, a name starByName finds, or { x, y, z } in parsecs (Sun at the origin). From { x: 0, y: 0, z: 0 } the sky is the Earth's, without the Sun.

options (省略可)SkyFromOptions

magnitude (the faintest apparent magnitude to include) and among (the stars to move).

戻り値

SeenSky

A new list of seen stars, brightest first, with a skipped count.

例

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

const sky = skyFrom("Rigil Kentaurus");
const sun = sky.find((star) => star.id === "sun")!;
console.log(sun.rightAscension.toFixed(1), sun.declination.toFixed(1), sun.magnitude.toFixed(2)); // 39.9 60.8 0.46
39.9 60.8 0.45

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

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

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