Restore visible fit diagnostics in the imaging walkthrough - #67
Conversation
Use the original trial kernel as an explicit imperfect PSF match while keeping the source scene, mover mask, and data-based fit initialization. Explain how to rerun with the matched kernel to compare fit quality. Label every figure and restore the three-panel dipole view with a numeric residual colorbar and relative error. Keep the notebook and script aligned. Signed-off-by: Trent Nelson <trentn@nvidia.com>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: NVIDIA/cuPhoton/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 WalkthroughWalkthroughThe imaging pipeline example now uses a deliberately broad trial kernel and reports fit-width and residual diagnostics. Its plots use labeled panels and show the dipole-fit residual as data minus model with a separate symmetric scale. ChangesImaging Pipeline Example
Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to The script and notebook display the documented residual sign. No issue identified here needs resolution before merging. 🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
Comment |
|
@coderabbitai review Please review the notebook and companion script for correctness and consistency. This walkthrough deliberately uses the original broad trial kernel so fit residuals remain visually informative, with a documented matched-kernel comparison. Check residual signs, displayed scales, and notebook/script agreement while preserving that teaching purpose. |
|
melo-gonzo
left a comment
There was a problem hiding this comment.
LGTM. Notebook/script code matches, and the CPU stages reproduce both documented residual levels with clear plot scales and labels. The GPU-only XDR load was not rerun locally.
Summary
The imaging walkthrough's residual looked blank after the example began using the exact planted blur in its kernel solve. This weakened the visual demonstration of fit diagnostics.
Restore the original trial kernel and keep the same synthetic source images. The notebook now explains the deliberate PSF mismatch and how to rerun with
KERNEL_SIGMA = SEEING_SIGMAfor a well-matched comparison. The mover mask and data-based fit initialization remain in place.All four figures have labels. The final figure returns to the original difference/model/residual layout, with a numerical residual colorbar and peak-error percentage. The stamp and model share a scale; the residual has an explicitly separate scale. Residuals retain the documented data-minus-model sign.
Validation
make ci-lint: passed.Repository hygiene