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

starGradefunction

A star's grade alone, worked out without building the whole record: the same answer as starAccuracy(star).grade, cheap enough to filter thousands of stars with.

Import it

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

Definition

function starGrade(star: Star | NearbyStar): StarGrade

Parameters

NameTypeDescription
starStar | NearbyStar

A bright star or a nearby star.

Returns

StarGrade

"A", "B" or "C" by GRADE_RULES.

Examples

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

console.log(starGrade(starByName("Sirius")!));
A

What it prints (run when this page was built)

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