Overview
Validate PyAutoReduce's WFC3-IR path on a science-grade lens: reduce PJ011646 (Planck/PASSAGES lensed dusty starburst, z_lens 0.555, z_source 2.125) from archival WFC3 data and compare the modeling-ready product against Aris's dataset at /mnt/c/Users/Jammy/Science/aris_PJ011646/dataset/aris/PJ011646 (201×201 @ 0.0642″/pix, 3.8″ mask). Second lens of the reduction-validation series — slacs1430+4105 (#17) validated the ACS path and settled the comparison methodology; this task exercises the genuinely-different IR deltas (_flt inputs, up-the-ramp CR handling, half-native drizzle scale, fine-grid Casertano R).
Plan
- Inspect Aris's dataset (real-data gate): plot data/noise/PSF; the bundle ships no positions, extra-galaxy masks or coordinates — create positions + field-object notes at inspection; resolve PJ011646 coordinates + HST program/filter via MAST and literature (filter confirmed empirically by PSF FWHM if ambiguous).
scripts/reduce_pj011646.py: instrument="wfc3_ir", final_scale=0.0642, 201×201 cutout matching Aris's grid; respect the J0252 IR pixfrac/zero-weight-holes finding (docs/design/wfc3.md).
- Pixel parity with the slacs1430 lessons: dihedral × rotation orientation scan over source structure FIRST; lens-anchored registration; ratio maps + S/N; explicit does-the-legacy-noise-carry-R check (IR R is materially larger on the fine-grid branch); PSF radial profiles.
- Model parity: identical MGE + SIE + shear + MGE fits (Nautilus), 3.8″ mask, shared positions through the measured anchor transform; fits run SERIALLY on a quiet machine (~5.5 GB each, slacs1430 OOM lesson).
- Verdict here; pipeline defects escalate as PyAutoMind prompts (PyAutoReduce source claimed by jwst-frame-feasibility; no source edits in this task).
Detailed implementation plan
Work classification
Workspace (scripts + analysis; no library source edits). Autonomy: safe effective (--auto, plan human-approved in-session 2026-07-10). Brain suggested re-homing as research/; human classified test at intake — kept.
Affected repositories
- PyAutoReduce (primary — new
scripts/reduce_pj011646.py + parity-fit prototype)
- autolens_assistant (driver only; no commits; scratch under
scripts/scratch/pj011646_parity/)
Branch survey (2026-07-10)
| Repository |
Current Branch |
Dirty? |
| ./PyAutoReduce |
main |
2 untracked (keck-ao parked analysis + gitignored output/) |
| ./autolens_assistant |
feature/assistant-ref-mechanics (other task, in-place) |
driver-only here, no commits |
Suggested branch: feature/pj011646-wfc3-parity (created only at ship). Claim handling: PyAutoReduce worktree held by jwst-frame-feasibility → keck-ao/slacs1430 pattern: analysis on the main checkout, no claim, outputs to gitignored scripts/output/; script commit + PR gated until the claim releases (or human-directed).
Key files
PyAutoReduce/scripts/reduce_slacs1430.py, prototypes/slacs1430_parity_fit.py — the shipped templates (0face12)
PyAutoReduce/docs/design/wfc3.md — IR deltas: _flt, 0.128″ native → 0.065″ recommended, pixfrac/coverage finding, R on the fine-grid branch
autolens_assistant/scripts/scratch/slacs1430_parity/pixel_comparison.py — dihedral-aware comparison machinery to adapt
/mnt/c/Users/Jammy/Science/aris_PJ011646/dataset/aris/PJ011646/ — data (201×201 f4), noise (f8), psf (51×51), info.json only
- PyAutoReduce#17 — methodology notes this task inherits
Original Prompt
Click to expand starting prompt
PyAutoReduce validation: PJ011646 WFC3 reduction vs Aris's dataset
Type: test
Target: workspaces
Repos:
- autolens_assistant
- PyAutoReduce
Difficulty: medium
Autonomy: safe
Priority: normal
Status: formalised
Follow-up to the slacs1430+4105 PyAutoReduce validation: reduce the lens PJ011646 from archival HST/WFC3 data using PyAutoReduce and compare the result to Aris's existing dataset at /mnt/c/Users/Jammy/Science/aris_PJ011646/dataset/aris/PJ011646. Same comparison methodology as the SLACS task (image/noise/PSF residuals plus lens-model parity fits via autolens_assistant); exercises the WFC3 reduction path rather than ACS. Blocked-by: the slacs1430+4105 comparison task should ship first so the methodology is settled.
Overview
Validate PyAutoReduce's WFC3-IR path on a science-grade lens: reduce PJ011646 (Planck/PASSAGES lensed dusty starburst, z_lens 0.555, z_source 2.125) from archival WFC3 data and compare the modeling-ready product against Aris's dataset at
/mnt/c/Users/Jammy/Science/aris_PJ011646/dataset/aris/PJ011646(201×201 @ 0.0642″/pix, 3.8″ mask). Second lens of the reduction-validation series — slacs1430+4105 (#17) validated the ACS path and settled the comparison methodology; this task exercises the genuinely-different IR deltas (_fltinputs, up-the-ramp CR handling, half-native drizzle scale, fine-grid Casertano R).Plan
scripts/reduce_pj011646.py:instrument="wfc3_ir",final_scale=0.0642, 201×201 cutout matching Aris's grid; respect the J0252 IR pixfrac/zero-weight-holes finding (docs/design/wfc3.md).Detailed implementation plan
Work classification
Workspace (scripts + analysis; no library source edits). Autonomy:
safeeffective (--auto, plan human-approved in-session 2026-07-10). Brain suggested re-homing asresearch/; human classifiedtestat intake — kept.Affected repositories
scripts/reduce_pj011646.py+ parity-fit prototype)scripts/scratch/pj011646_parity/)Branch survey (2026-07-10)
Suggested branch:
feature/pj011646-wfc3-parity(created only at ship). Claim handling: PyAutoReduce worktree held byjwst-frame-feasibility→ keck-ao/slacs1430 pattern: analysis on the main checkout, no claim, outputs to gitignoredscripts/output/; script commit + PR gated until the claim releases (or human-directed).Key files
PyAutoReduce/scripts/reduce_slacs1430.py,prototypes/slacs1430_parity_fit.py— the shipped templates (0face12)PyAutoReduce/docs/design/wfc3.md— IR deltas:_flt, 0.128″ native → 0.065″ recommended, pixfrac/coverage finding, R on the fine-grid branchautolens_assistant/scripts/scratch/slacs1430_parity/pixel_comparison.py— dihedral-aware comparison machinery to adapt/mnt/c/Users/Jammy/Science/aris_PJ011646/dataset/aris/PJ011646/— data (201×201 f4), noise (f8), psf (51×51), info.json onlyOriginal Prompt
Click to expand starting prompt
PyAutoReduce validation: PJ011646 WFC3 reduction vs Aris's dataset
Type: test
Target: workspaces
Repos:
Difficulty: medium
Autonomy: safe
Priority: normal
Status: formalised
Follow-up to the slacs1430+4105 PyAutoReduce validation: reduce the lens PJ011646 from archival HST/WFC3 data using PyAutoReduce and compare the result to Aris's existing dataset at /mnt/c/Users/Jammy/Science/aris_PJ011646/dataset/aris/PJ011646. Same comparison methodology as the SLACS task (image/noise/PSF residuals plus lens-model parity fits via autolens_assistant); exercises the WFC3 reduction path rather than ACS. Blocked-by: the slacs1430+4105 comparison task should ship first so the methodology is settled.