Repository navigation
feat: image_with_points.png for the point-source chi-squared domains - #6
Merged
Merged
Conversation
… (PyAutoLens#779) The point simulator also writes data/psf/noise_map FITS (PSF-convolved point images); both producers pass image= and keep image_with_points.png. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Both point-source domains (
point_source_image_chi_squaredandpoint_source_source_chi_squared) now render a third figure,image_with_points.png: the dataset image with the observed positions as hollow white rings, plus the critical curves.The point simulator now also writes
data.fits,psf.fitsandnoise_map.fits(PSF-convolvedPointSourceimages, intensity = flux × |magnification|,noise_seed=1, reproducible byte-for-byte). Theensure_datasetsentinel moves todata.fits, so stale dataset folders regenerate.keep_dataset_and_fitgainsextra_pngs=. Once merged and the Eyes board is re-rendered, the figure appears in PyAutoEyes.Part of PyAutoLens#779.
Scripts Changed
scripts/misc/simulators/point_source.py— also writes the imaging FITS; docstring updated.scripts/point_source_image_chi_squared/visualization.py,scripts/point_source_source_chi_squared/visualization.py— loaddata.fits, passimage=, keepimage_with_points.png._viz_cli.py—extra_pngskwarg;point_sourcesentinel set todata.fits.true_models/point_source.py—SOURCE_FLUX,IMAGE_PIXEL_SCALES.gallery/viz_manifest.yaml,GALLERY.md— rebuilt (64 → 66 figures; only the two new entries added,dataset.pngandfit.pngbytes unchanged).Upstream PR
PyAutoLabs/PyAutoLens#780 (must merge first; the producers need its
AnalysisPoint(image=)visualization)Test Plan
python gallery/gallery_build.py --checkpasses.Known follow-up (not in scope)
The critical curve renders as four disconnected arcs on this 100×100, 0.05" grid. This comes from the existing critical-curve computation and is not introduced here.
Readiness
Heart readiness at ship time: YELLOW. The reasons:
The Heart door read RED at task start. The human authorized development on 2026-10-21 ("I override, go"), and none of these reasons involve point-source code.
Generated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code