本文へ移動

Hoshi Stars星

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

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

目次

リファレンス · メシエ天体の空での大きさと向き、その輪郭

deepSkyShape関数

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

The size, axis ratio and angle of a Messier object on the sky. For a galaxy they are RC3's (the major axis at the 25th magnitude isophote, the axis ratio and the angle) or, where RC3 has none, NASA/IPAC NED's; for any other Messier object, and for a galaxy with neither, the one diameter that the object's own row carries (sizeArcmin), with no ratio and no angle. Every part is a measurement or undefined; the sources are in NOTICE.md.

インポート

import { deepSkyShape } from "@johnmorrisdotca/hoshi-stars/deep-sky/shape";

定義

function deepSkyShape(object: DeepSkyObject): DeepSkyShape

引数

名前型説明
objectDeepSkyObject

A deep-sky object (any, but this table holds only the Messier objects' shapes: another gets the size its own row carries or nothing; use ngc-ic-shape for those).

戻り値

DeepSkyShape

The shape, frozen.

例

import { deepSkyObject } from "@johnmorrisdotca/hoshi-stars/deep-sky";
import { deepSkyShape } from "@johnmorrisdotca/hoshi-stars/deep-sky/shape";

const shape = deepSkyShape(deepSkyObject("M31")!);
console.log(shape.majorArcmin, shape.minorArcmin, shape.positionAngle);
190.5 61.7 35

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

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

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