Bring the counts the comments and README quote back to the catalogue

Measured on the published catalogue at this commit, through starSurfaceOf and starReadouts:

- star-readouts.ts said 11 546 derived radii read "from its type": 10 702 giants with a colour and
  844 stars with none. That left out the 26 dwarfs whose colour is off the table, and the colour
  Gaia now gives 931 HYG-described stars moved the rest: 10 953 = 10 713 giants with a colour,
  214 stars with none (GJ 3655 among them) and those 26. 5 more read "from its temperature".
- stellar.ts said 821 dwarfs are placed at their type's row. Counted over every star that is not a
  giant and whose colour the table does not read: 224 with no colour and 36 with one off the table.
- The README still said the card marks every derived radius "from colour and brightness"; it now
  names the three bases the card gives.
- build.ts's survivor breakdown, after θ¹ Ori A left: 11 464 HYG stars without a Gaia counterpart,
  8 307 of them past 250 pc, 1 660 of those naked-eye.

Comments and documentation only.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-30 21:48:40 +02:00
co-authored by Claude Opus 5.5
parent 0f659af5b3
commit cea4ff799f
4 changed files with 13 additions and 9 deletions
+5 -2
View File
@@ -64,8 +64,11 @@ with room around it at any system scale and any window shape.
The star at the centre is drawn at its own radius, to the same scale as its orbits: the The star at the centre is drawn at its own radius, to the same scale as its orbits: the
archive's measured radius for a planet host, and otherwise one derived from its luminosity and archive's measured radius for a planet host, and otherwise one derived from its luminosity and
temperature (Stefan-Boltzmann), which the card marks "from colour and brightness". Its surface temperature (Stefan-Boltzmann), which the card marks with what the temperature came from: "from
is a limb-darkened disc in the colour of a blackbody at its temperature, and its planets are lit colour and brightness", "from its type and brightness" for a giant or a star whose colour the
dwarf table does not read, or "from its temperature and brightness" for an archive host whose
colour was read off its temperature. Its surface is a limb-darkened disc in the colour of a
blackbody at its temperature, and its planets are lit
in that colour, relative to the Sun's, so the solar system's photographs stay as they were in that colour, relative to the Sun's, so the solar system's photographs stay as they were
taken. A star nothing gives a size or a temperature for is a grey point. Like every marker, the taken. A star nothing gives a size or a temperature for is a grey point. Like every marker, the
disc is never drawn smaller than three pixels, so a red dwarf framed with its outermost orbit disc is never drawn smaller than three pixels, so a red dwarf framed with its outermost orbit
@@ -67,8 +67,8 @@ export function starReadouts(star: StarRecord, surface?: StarSurface): HudReadou
/** /**
* What a derived radius is worked out from besides the brightness: the temperature the star's * What a derived radius is worked out from besides the brightness: the temperature the star's
* colour gives, or its type's — a giant's always, and a dwarf's with no colour the table reads. * colour gives, or its type's — a giant's always, and a dwarf's with no colour the table reads.
* 11 546 radii read "from colour" whose temperature no colour went into: 10 702 giants with one, and * 10 953 radii read "from colour" whose temperature no colour went into: 10 713 giants with one,
* 844 stars with none, GJ 3655 (M8) among them. * 214 stars with none, GJ 3655 (M8) among them, and 26 dwarfs whose colour is off the table.
*/ */
function radiusBasis(star: StarRecord): string { function radiusBasis(star: StarRecord): string {
if (star.colorFromTemperature) { if (star.colorFromTemperature) {
+3 -2
View File
@@ -177,8 +177,9 @@ export function effectiveTemperatureK(star: StellarPhotometry): number | null {
/** /**
* Whether {@link effectiveTemperatureK} reads the star off its colour rather than off its type: not * Whether {@link effectiveTemperatureK} reads the star off its colour rather than off its type: not
* for a giant, nor for a star with no colour the table reads, which since 206e88a is 821 dwarfs * for a giant, nor for a star with no colour the table reads, which since 206e88a is placed at its
* placed at their type's row. The card said their radii came "from colour and brightness". * type's row: 224 stars that are not giants with no colour, and 36 whose colour is off the table
* (HD 49748, G5 V at B−V −0.32). The card said their radii came "from colour and brightness".
*/ */
export function temperatureFromColour(star: Pick<StellarPhotometry, 'spectralType' | 'colorIndex' | 'colorSystem'>): boolean { export function temperatureFromColour(star: Pick<StellarPhotometry, 'spectralType' | 'colorIndex' | 'colorSystem'>): boolean {
return giantSurface(star.spectralType) === null && sequenceAtColour(star) !== null; return giantSurface(star.spectralType) === null && sequenceAtColour(star) !== null;
+3 -3
View File
@@ -249,8 +249,8 @@ function validateStars(stars: StarRecord[]): void {
* The other failure leaves no close pair at all, because proper motion had already carried the * The other failure leaves no close pair at all, because proper motion had already carried the
* two entries tens of arcseconds apart — the 2026-08-24 refresh, where HYG sat at epoch 2000.0 * two entries tens of arcseconds apart — the 2026-08-24 refresh, where HYG sat at epoch 2000.0
* and Gaia at J2016.0. What it does leave is HYG rows that found no counterpart: 36 056 of them * and Gaia at J2016.0. What it does leave is HYG rows that found no counterpart: 36 056 of them
* against the 11 465 today, and no counterpart was possible for most of those. 8 308 of them are * against the 11 464 today, and no counterpart was possible for most of those. 8 307 of them are
* every star beyond 250 pc but the archive's planet hosts, which the main query never downloads: 1 661 * every star beyond 250 pc but the archive's planet hosts, which the main query never downloads: 1 660
* naked-eye stars kept at any distance, and 6 647 fainter ones that Hipparcos put inside * naked-eye stars kept at any distance, and 6 647 fainter ones that Hipparcos put inside
* `ETL_STAR_DISTANCE_PC` while Gaia's parallax puts them past `ETL_GAIA_DISTANCE_PC`. The other * `ETL_STAR_DISTANCE_PC` while Gaia's parallax puts them past `ETL_GAIA_DISTANCE_PC`. The other
* 3 156 are what Gaia genuinely lacks: 1 202 brighter than V 8, which it saturates on or measures * 3 156 are what Gaia genuinely lacks: 1 202 brighter than V 8, which it saturates on or measures
@@ -261,7 +261,7 @@ function validateStars(stars: StarRecord[]): void {
* This bounds a merge that went wrong, and — loosely — a Gaia download that came back short: a * This bounds a merge that went wrong, and — loosely — a Gaia download that came back short: a
* truncated answer leaves the HYG rows whose counterpart it dropped without one, so survivors go * truncated answer leaves the HYG rows whose counterpart it dropped without one, so survivors go
* *up*, not down. Measured on the main query when it was the only one, with 10 886 survivors * *up*, not down. Measured on the main query when it was the only one, with 10 886 survivors
* against today's 11 465: 11 004 at nine tenths of its rows, 12 711 at half, 16 258 at a third. So * against today's 11 464: 11 004 at nine tenths of its rows, 12 711 at half, 16 258 at a third. So
* this ceiling only catches a deep truncation, and `fetchGaiaStars` catches the shallower ones * this ceiling only catches a deep truncation, and `fetchGaiaStars` catches the shallower ones
* with a row floor on each query. * with a row floor on each query.
*/ */