Repository navigation
docs: clarify introductory lensing tutorials and ray mappings - #104
Merged
Merged
Conversation
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
Review and correct introductory Tutorials 0–2, incorporating the human-approved prose and code changes from the paired HowToLens/HowToGalaxy review. Clarify grids, profile geometry, intensity and units; regenerate matching notebooks and the navigation catalogue.
Ray tracing now distinguishes the coordinate mapping clearly and introduces a source-plane zoom and matching coloured groups of image/source points. Tutorials 3–5 remain unchanged.
Scripts Changed
scripts/chapter_1_introduction/tutorial_0_visualization.py— clarify simulation, image terminology and plotting; create explicit Matplotlib axes for figure sizing.scripts/chapter_1_introduction/tutorial_1_grids_and_galaxies.py— correct grid rotation, elliptical/circularised radii, Sérsic intensity, radial sampling, plotting calls and unit explanations.scripts/chapter_1_introduction/tutorial_2_ray_tracing.py— correct ray-tracing explanations, add zoom/grouped mappings usingautoarray.plot, and clarify mass-only lens and Tracer examples.Tutorial 2 declares
ENV: full_datasetsso automated runs retain the 101×101 teaching grid and exercise its fixed mapping indexes.Validation
Heart RED development override
Human authorization: “Fix those plotting errors, rerun the tests and then prm everything. I approve the fixes and the Heart RED override.”
Exact Heart readiness reason:
release validation FAILED (stage integrate).Development shipping and current-turn merge on green required checks only. No release, failed-test bypass, or branch-protection override.
Tracking: #103