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 · The Messier objects

galaxyDistancefunction

The distance to a Messier galaxy: the median of the distances Wikidata (CC0) gives, in light-years and parsecs, with the error where a statement has one, the lowest and highest statement, how many there are and whether they disagree (the highest more than 1.2 times the lowest). The method is always "compiled, method not stated": Wikidata gathers published values and names no method. This table holds the Messier galaxies only; for the NGC and IC galaxies use galaxyDistance from @johnmorrisdotca/hoshi-stars/deep-sky/ngc-ic.

Import it

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

Definition

function galaxyDistance(object: DeepSkyObject): GalaxyDistance | null

Parameters

NameTypeDescription
objectDeepSkyObject

A deep-sky object.

Returns

GalaxyDistance | null

The distance, frozen, or null for an object that is not a galaxy, one the source has no distance for, or one that is not a Messier object.

Examples

import { deepSkyObject, galaxyDistance } from "@johnmorrisdotca/hoshi-stars/deep-sky";

const m31 = galaxyDistance(deepSkyObject("M31")!);
console.log(m31?.lightYears, m31?.parsecs, m31?.method, m31?.disagree);
2674482.297277295 820000 compiled, method not stated false

What it prints (run when this page was built)

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