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 · /chart

PickAccuracytype

The grade and the ± of a picked star: what hoshi-pick carries in accuracy for a star.

Import it

import type { PickAccuracy } from "@johnmorrisdotca/hoshi-stars/chart";

Definition

interface PickAccuracy {
    grade: StarGrade;
    lightYearsRange: readonly [
        number,
        number
    ] | null;
    positionResolutionArcsec: number;
}

Members

NameTypeDescription
gradeStarGrade

The star's grade, A, B or C, by the rule in /accuracy.

lightYearsRangereadonly [number, number] | null

The nearest and the farthest the distance can be, in light-years, within one standard error of the parallax (the farthest is Infinity where the error is as large as the parallax); null where the star has no distance or the parallax has no stated error.

positionResolutionArcsecnumber

The size of the last digit of the star's position, in arc-seconds: a floor on its error, not an estimate of it.

Examples

import { starByName } from "@johnmorrisdotca/hoshi-stars";
import { pickAccuracy, type PickAccuracy } from "@johnmorrisdotca/hoshi-stars/chart";

const sirius: PickAccuracy = pickAccuracy(starByName("Sirius")!);
console.log(sirius.grade, sirius.lightYearsRange, sirius.positionResolutionArcsec);
A [ 8.498081753517456, 8.596636207169214 ] 1.436612480278141

What it prints (run when this page was built)

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