Fold the Gliese entries that move with a Gaia star up to 160″ away, where a minute left 39 twice

74b93a0 let a Gliese-only HYG row fold into a Gaia entry that moves with it up to a minute of arc
away, since Gliese's positions are off by that much. Its report counted only the 3-60″ residue.
Measured on the published catalogue with the merge's own motion and brightness rules, 39 Gliese
rows within 25 pc still had a bare Gaia entry moving with them 60 to 150″ away (32 within 100″,
none past 150); with every row shifted a quarter of a degree north or south, none did. The review
found 36 of them to be the same star under SIMBAD, three within 10 pc: GJ 3618 (LHS 288) at 4.49 pc
beside its Gaia entry at 4.83 pc 94″ away, GJ 1123 at 8.13 and 9.52, GJ 1001 at 9.60 and 12.31.

MERGE_COMOVING_ANGULAR_TOLERANCE_DEG is now 160″. The ETL from cache folds 62 046 entries against
62 002, leaves 11 510 HYG rows without a counterpart against 11 554, and publishes 455 564 stars;
within 10, 25 and 50 pc the map now holds 369, 5 523 and 40 877 against 372, 5 564 and 40 921
(GCNS: 312 Gaia sources within 10 pc). No Gliese row within 25 pc has a co-moving bare Gaia entry
3-300″ away any more. GJ 3618, GJ 1123, Gl 319C and GJ 3999A now sit on Gaia entries. One
exoplanet changes host id: LHS 475 b's Gaia entry took HYG's id with its description.

Not every name lands where SIMBAD would put it: Gl 319C takes the entry SIMBAD calls GJ 319 B, as
HYG's Gl 319B already sat on SIMBAD's C, and GJ 3999A takes the entry named GJ 4000B before, which
moves to the bare one beside it. Both systems go from one entry too many to one per star; the
names follow HYG's positions, which only identifiers could correct. The merge validators hold: 23
cross-catalogue pairs within an arcsecond, as before.

Controls, each failing its named test: the window back to a minute (2 of 801 failed), and 200″
(1 of 801).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-29 20:59:05 +02:00
co-authored by Claude Opus 5.5
parent 150ec76bbd
commit 0e9ab6ffb5
6 changed files with 17 additions and 6 deletions
+10 -2
View File
@@ -92,11 +92,19 @@ describe('isSameStar', () => {
expect(isSameStar(gj3052, gliese3052)).toBe(true);
});
it('does not match two entries moving differently past fifteen arcseconds, nor co-moving ones past a minute', () => {
it("matches LHS 288's Gliese entry to its Gaia entry, a minute and a half away", () => {
const lhs288 = at(1000388933, 161.08846863703002, -61.20979834516761, 4.8316, { magnitude: 11.859, source: 'gaia', pmRaMasYr: -346.21, pmDecMasYr: 1611.1 });
const gliese3618 = at(118704, 161.13112906780827, -61.1935811389294, 4.4883, { name: 'GJ 3618', magnitude: 13.92, pmRaMasYr: -340.24, pmDecMasYr: 1614.54 });
expect(Math.acos(directionCosine(lhs288, gliese3618)) * (180 / Math.PI) * 3600).toBeCloseTo(94, 0);
expect(isSameStar(lhs288, gliese3618)).toBe(true);
});
it('does not match two entries moving differently past fifteen arcseconds, nor co-moving ones past 160″', () => {
const kept = at(1, 120, 30, 10, { magnitude: 12, source: 'gaia', pmRaMasYr: 1000, pmDecMasYr: 0 });
expect(isSameStar(kept, at(2, 120 + arcsecOfRa(20, 30), 30, 10, { magnitude: 13, pmRaMasYr: 750, pmDecMasYr: 0 }))).toBe(false);
expect(isSameStar(kept, at(2, 120 + arcsecOfRa(20, 30), 30, 10, { magnitude: 13, pmRaMasYr: 850, pmDecMasYr: 0 }))).toBe(true);
expect(isSameStar(kept, at(2, 120 + arcsecOfRa(65, 30), 30, 10, { magnitude: 13, pmRaMasYr: 1000, pmDecMasYr: 0 }))).toBe(false);
expect(isSameStar(kept, at(2, 120 + arcsecOfRa(155, 30), 30, 10, { magnitude: 13, pmRaMasYr: 1000, pmDecMasYr: 0 }))).toBe(true);
expect(isSameStar(kept, at(2, 120 + arcsecOfRa(165, 30), 30, 10, { magnitude: 13, pmRaMasYr: 1000, pmDecMasYr: 0 }))).toBe(false);
});
it("keeps a co-moving primary out of its companion's entry", () => {
+5 -2
View File
@@ -57,10 +57,13 @@ export const MERGE_CERTAIN_ANGULAR_TOLERANCE_DEG = 3 / 3600;
*
* Once the nearby faint Gaia stars joined, 253 of the 602 Gliese-only stars left without a
* counterpart had a Gaia entry within a minute of arc moving within a fifth of their own motion;
* shifted a quarter of a degree, none did. Brightness still has its say, so a co-moving companion
* shifted a quarter of a degree, none did. A minute was not enough, though: 39 Gliese stars within
* 25 pc still had a bare Gaia entry moving with them 60 to 150″ away, 36 of which SIMBAD names as
* the same star — GJ 3618, LHS 288, drawn at 4.49 pc and again 94″ away at 4.83 — while shifted a
* quarter of a degree, none did. So 160″. Brightness still has its say, so a co-moving companion
* is not folded into its primary, and `fetchStars` gives HYG's motions only to those rows.
*/
export const MERGE_COMOVING_ANGULAR_TOLERANCE_DEG = 60 / 3600;
export const MERGE_COMOVING_ANGULAR_TOLERANCE_DEG = 160 / 3600;
export const MERGE_PROPER_MOTION_TOLERANCE = 0.2;
/**
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.