From cea4ff799f4b777a5e88b253442f2a7ef712dc05 Mon Sep 17 00:00:00 2001 From: Senrokai Date: Wed, 30 Sep 2026 21:48:40 +0200 Subject: [PATCH] Bring the counts the comments and README quote back to the catalogue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- README.md | 7 +++++-- src/app/features/galaxy-system/star-readouts.ts | 4 ++-- src/app/shared/astro/stellar.ts | 5 +++-- tools/etl/build.ts | 6 +++--- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index e5302ec..74cd2d0 100644 --- a/README.md +++ b/README.md @@ -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 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 -is a limb-darkened disc in the colour of a blackbody at its temperature, and its planets are lit +temperature (Stefan-Boltzmann), which the card marks with what the temperature came from: "from +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 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 diff --git a/src/app/features/galaxy-system/star-readouts.ts b/src/app/features/galaxy-system/star-readouts.ts index c7bc6e8..d5bb3f0 100644 --- a/src/app/features/galaxy-system/star-readouts.ts +++ b/src/app/features/galaxy-system/star-readouts.ts @@ -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 * 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 - * 844 stars with none, GJ 3655 (M8) among them. + * 10 953 radii read "from colour" whose temperature no colour went into: 10 713 giants with one, + * 214 stars with none, GJ 3655 (M8) among them, and 26 dwarfs whose colour is off the table. */ function radiusBasis(star: StarRecord): string { if (star.colorFromTemperature) { diff --git a/src/app/shared/astro/stellar.ts b/src/app/shared/astro/stellar.ts index 361f417..e530a35 100644 --- a/src/app/shared/astro/stellar.ts +++ b/src/app/shared/astro/stellar.ts @@ -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 - * for a giant, nor for a star with no colour the table reads, which since 206e88a is 821 dwarfs - * placed at their type's row. The card said their radii came "from colour and brightness". + * for a giant, nor for a star with no colour the table reads, which since 206e88a is placed at its + * 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): boolean { return giantSurface(star.spectralType) === null && sequenceAtColour(star) !== null; diff --git a/tools/etl/build.ts b/tools/etl/build.ts index 5348753..7e0a9b9 100644 --- a/tools/etl/build.ts +++ b/tools/etl/build.ts @@ -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 * 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 - * against the 11 465 today, and no counterpart was possible for most of those. 8 308 of them are - * every star beyond 250 pc but the archive's planet hosts, which the main query never downloads: 1 661 + * 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 660 * 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 * 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 * 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 - * 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 * with a row floor on each query. */