Skip to content

datasets: fold-back rows in flight-1062-inj2, and the round-trip check - #249

Merged
rusholme merged 2 commits into
mainfrom
docs/inject-wcs-foldback
Dec 3, 2026
Merged

rusholme merged 2 commits into
mainfrom
docs/inject-wcs-foldback

Conversation

@jjencson91

Copy link
Copy Markdown
Contributor

Adds a paragraph to system/datasets.md, after the 1062 injected-set section.

  • The bug: inject_dataset.py's WCS inverse folded catalog rows 0.6 to 1.2 deg off a frame onto in-frame pixels.
  • Effect on flight-1062-inj2 (run 281): about 4 to 5% of the transients per filter landed at the wrong positions, plus stars with no epoch-1 counterpart in the reference. The truth's ra, dec are wrong for those rows; its x, y, mag_ab, dnps are what was rendered.
  • Finding those rows: the file's forward WCS at x, y gives where each source actually went. A row more than 0.1" from its catalog position is a fold-back.
  • The fix: inject_dataset: place a position only where the WCS round trip returns it rapid#675 places a position only where the forward WCS returns it to within 0.1".

Please hold the merge until the all-clear, and merge together with rapid#675.

🤖 Generated with Claude Code

jjencson91 and others added 2 commits December 2, 2026 17:33
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 <noreply@anthropic.com>
@rusholme
rusholme merged commit 0afa643 into main Dec 3, 2026
1 check passed
@rusholme
rusholme deleted the docs/inject-wcs-foldback branch December 3, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants