Skip to the content

Hoshi Stars星

The stars you can see without a telescope, with names, colours and distances; the 88 constellations with their lines and boundaries; the Messier objects; and seven map projections to draw them on.

Hoshi is the Japanese word 星 for a star. About the name

Contents

Reference · How big a Messier object is on the sky and which way it lies, and its outline

deepSkyShapefunction

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 it

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

Definition

function deepSkyShape(object: DeepSkyObject): DeepSkyShape

Parameters

NameTypeDescription
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).

Returns

DeepSkyShape

The shape, frozen.

Examples

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

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/hoshi-stars 0.47.0.