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 well each value of a star is known: the source and error of its position, magnitude, colour, parallax and proper motion, and a grade A, B or C

starAccuracyfunction

How well each value of a star is known, and its grade. The grade is a rule on the stated figures, not a verdict on the star: A a distance known to under 5% and a modern position (an error, or where none is stated a resolution, of 2 arc-seconds or less), B a distance known to 20% or better, C anything else (a position and a rough distance, or no distance). A parallax with no stated error is never better than rough, except a dynamical one, which is fair. Sirius is grade A, Betelgeuse (a paper's distance, known to about 14%) is grade B and Rigel (a range of 590 to 1,480 light-years) is grade C.

Import it

import { starAccuracy } from "@johnmorrisdotca/hoshi-stars/accuracy";

Definition

function starAccuracy(star: Star | NearbyStar): StarAccuracy

Parameters

NameTypeDescription
starStar | NearbyStar

A bright star (from stars()) or a nearby star (from /nearby).

Returns

StarAccuracy

The record: the tier, the grade and, for position, magnitude, colour, parallax and proper motion, the source, the error and the resolution.

Examples

import { starByName } from "@johnmorrisdotca/hoshi-stars";
import { starAccuracy } from "@johnmorrisdotca/hoshi-stars/accuracy";

const sirius = starAccuracy(starByName("Sirius")!);
console.log(sirius.grade, sirius.parallax.source, sirius.distance.quality, starAccuracy(starByName("Rigel")!).grade);
A GCTP good C

What it prints (run when this page was built)

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