Reference
Nearby stars: Proxima Centauri, Barnard's Star and about 5,600 more, with distance and error
import { … } from "@johnmorrisdotca/hoshi-stars/nearby";
Exports
| Name | Kind | What it is |
|---|---|---|
NearbyFlags | type | What to be careful about for one star. |
NearbyMagnitudeKind | type | The kind of a V magnitude in the Yale catalogue: a photoelectric V, a visual or other magnitude of lower accuracy, or a photographic blue one. |
NearbyPositionSource | type | Where a star's position comes from: a 2MASS source found for it (good to a fraction of an arc-second), or the Yale catalogue's own position (taken to J2000 from 1900, good to arc-seconds at best, an arc-minute at worst). |
NearbyStar | type | One nearby star, as the Yale General Catalogue of Trigonometric Stellar Parallaxes gives it, with a 2MASS position where there is one. |
nearbyStarByName | function | A nearby star by a name, ignoring case: its common name (Proxima Centauri), a name the catalogue gives it (G 158-027), its designation (33 Psc), GJ 551 or Gliese 551, HD 95735, GCTP 2576 or its 2MASS designation (with or without 2MASS J). |
nearbyStars | function | The nearby stars, nearest first (the ones with no distance last). |