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 · A star's profile: temperature, size, luminosity and disc size with their uncertainty, limb darkening, and the measured shapes of Altair, Regulus and Vega

Estimatetype

A number with its uncertainty: the value, one standard error of it, and the range that error spans.

Import it

import type { Estimate } from "@johnmorrisdotca/hoshi-stars/profile";

Definition

interface Estimate {
    value: number;
    error: number;
    range: readonly [
        number,
        number
    ];
}

Members

NameTypeDescription
valuenumber

The best figure.

errornumber

One standard error, in the unit of value. First-order: it is the value times the combined relative error.

rangereadonly [number, number]

The nearest and the farthest one standard error allows. The upper end is Infinity where the parallax's own error is as large as the parallax (the star could be any distance beyond a point).

Examples

import { starByName } from "@johnmorrisdotca/hoshi-stars";
import { starProfile, type Estimate } from "@johnmorrisdotca/hoshi-stars/profile";

const radius: Estimate | undefined = starProfile(starByName("Vega")!).radius;
console.log(radius?.value, radius?.error, radius?.range);
2.631445219165531 0.23998692144901068 [ 2.3747947988124243, 2.9162763377432355 ]

What it prints (run when this page was built)

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