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

FieldAccuracytype

What is known about one value of a star.

Import it

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

Definition

interface FieldAccuracy {
    source: AccuracySource | undefined;
    error: number | undefined;
    resolution: number | undefined;
    unit: "arcsec" | "mag" | "mas" | "mas/yr";
    note: string | undefined;
}

Members

NameTypeDescription
sourceAccuracySource | undefined

Where the value is from, or undefined where the star has no such value (no parallax, no colour, no proper motion).

errornumber | undefined

The standard error in unit, as the source states it or as the package works it out from the source's figures (note says which); undefined where there is none.

resolutionnumber | undefined

The size of the last digit the source prints, in unit. A floor on the error, never an estimate of it; undefined where there is no value.

unit"arcsec" | "mag" | "mas" | "mas/yr"

The unit of error and resolution: arcsec, mag, mas or mas/yr.

notestring | undefined

One plain sentence on what to be careful about, or undefined where there is nothing to add.

Examples

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

const parallax: FieldAccuracy = starAccuracy(starByName("Sirius")!).parallax;
console.log(parallax.source, parallax.error, parallax.unit);
GCTP 2.2 mas

What it prints (run when this page was built)

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