From e1a679ae025bc11a74b573b6a1f005ca0f65db0d Mon Sep 17 00:00:00 2001 From: Jacob Jencson Date: Wed, 2 Dec 2026 17:33:51 -0800 Subject: [PATCH] datasets: fold-back rows in flight-1062-inj2, and the round-trip check inject_dataset.py's WCS inverse folded catalog rows 0.6-1.2 deg off a frame onto in-frame pixels; the truth's ra/dec are wrong for those rows. Rapid PR 675 places a position only where the forward WCS returns it to within 0.1". Co-Authored-By: Claude Opus 5.5 --- system/datasets.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/system/datasets.md b/system/datasets.md index 9ba5759..ea80272 100644 --- a/system/datasets.md +++ b/system/datasets.md @@ -365,6 +365,26 @@ dry run lists 228 files per filter (140 and 88). The run reads `flight-1062-inj1/l2/` under `flight.toml` with the same bound. The uninjected program, the same selection and bound, is its control. +**Fold-back rows in `flight-1062-inj2`** (found 2026-12-01 in run 281): +`inject_dataset.py` placed each catalog row through the file's stored WCS +inverse (romanisim `toImage`) and kept every row that landed within 50 px +of the frame. That inverse is exact on the frame but folds positions 0.6 +to 1.2 degrees off it back onto in-frame pixels, so each file also +carries catalog rows rendered at pixels unrelated to their RA/Dec: about +4 to 5% of the transients in every filter, and stars whose epoch-2 +placement has no epoch-1 counterpart in the reference (the whole base +star left in the difference, WFI05 most). The truth's `x`, `y`, `mag_ab` +and `dnps` are what was rendered; its `ra` and `dec` are the catalog's, +wrong for those rows. The file's forward WCS at `x`, `y` gives where each +went: a row more than 0.1″ from its catalog position is a fold-back, and +its `source_type` no longer describes where it sits (a hosted or nuclear +one is off its host, a blank one may sit on a real source). Since rapid +PR 675 a position is placed only where the forward transform at its +pixel returns it to within 0.1″ (`ROUND_TRIP_ARCSEC`, about a pixel); on +four 1062 frames over a ±1 degree grid that keeps about 645 positions, +all within 0.086 degrees of the frame centre, and drops every folded +one. The datasets injected before it are not rewritten. + ## RimTimSim, 2026-06-22 TRExS's Roman time-domain image simulator: one Galactic-bulge field