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 · The sky seen from another star: positions, distances and brightness from there, with the Sun among the stars

skyFromfunction

The sky as seen from another star or point in space. Each star with a distance is placed in three dimensions from its position and parallax, the viewpoint is subtracted, and what is left is its direction and distance from there; its apparent magnitude is m' = M + 5 log10(d' / 10 parsecs) from its absolute magnitude M. The Sun is among the stars (absolute magnitude 4.83, colour index 0.65): from Alpha Centauri it is a star of magnitude 0.5 in Cassiopeia. The directions are on the same J2000 axes as the Earth's sky, so a chart from there can use the same projections.

Only a star with a distance can be moved, so the 2,517 of the 5,080 bright stars with no parallax are left out and counted in skipped, and a star too faint to be in the table from the Sun is missing even if it would be bright from the viewpoint. The viewpoint star itself is left out, and so is a star nearer to the viewpoint than the error of the viewpoint's own distance (the other star of Alpha Centauri is 0.00004 light-years away by the positions, and the distance is good to 0.03: where it is from there is not known); it is counted in skipped. Distances from the parallaxes have errors (starDistance gives them): a star near the viewpoint, with a distance no better than its own error, can be anywhere. Positions are J2000 and are not carried by proper motion.

Import it

import { skyFrom } from "@johnmorrisdotca/hoshi-stars/sky-from";

Definition

function skyFrom(viewpoint: SkyFromViewpoint, options?: SkyFromOptions): SeenSky

Parameters

NameTypeDescription
viewpointSkyFromViewpoint

A star, a nearby star, a name starByName finds, or { x, y, z } in parsecs (Sun at the origin). From { x: 0, y: 0, z: 0 } the sky is the Earth's, without the Sun.

options (optional)SkyFromOptions

magnitude (the faintest apparent magnitude to include) and among (the stars to move).

Returns

SeenSky

A new list of seen stars, brightest first, with a skipped count.

Examples

import { skyFrom } from "@johnmorrisdotca/hoshi-stars/sky-from";

const sky = skyFrom("Rigil Kentaurus");
const sun = sky.find((star) => star.id === "sun")!;
console.log(sun.rightAscension.toFixed(1), sun.declination.toFixed(1), sun.magnitude.toFixed(2)); // 39.9 60.8 0.46
39.9 60.8 0.45

What it prints (run when this page was built)

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