Repository navigation
docs: consolidate Chapter 1 ray tracing tutorials - #106
Merged
Merged
Conversation
Move units and multiple galaxies into Tutorial 2, merge optional lensing mathematics into Tutorial 3, and renumber the remaining lessons. Regenerate notebooks, rendered pages and navigation. Agent: Codex
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
Tutorial 2 now introduces angular-to-physical units and a four-galaxy tracer, while Tutorial 3 combines the intuitive ray-tracing explanations with the optional lensing mathematics formerly in Tutorial 5. Readers can follow the physical explanations and figures without working through every equation.
Remove the separate lensing-formalism lesson and renumber Data, Fitting and Summary to 5–7, including filenames, dataset-generation references, chapter links and the discovery catalogue. Regenerate the notebooks and executed Markdown pages with fresh figures.
Scripts Changed
scripts/chapter_1_introduction/tutorial_2_ray_tracing.py: add units, lens light, elliptical mass, external shear, a satellite and two sources.scripts/chapter_1_introduction/tutorial_3_more_ray_tracing.py: one-tracer formalism, reduced deflections, convergence, potential, shear, magnification, critical curves/caustics, Einstein mass and fixed-source Fermat potential; includes the 2D deflection-difference map and explicit shallow-profile experiment.scripts/chapter_1_introduction/tutorial_5_lensing_formalism.py: retired into Tutorial 3.scripts/chapter_1_introduction/tutorial_{5_data,6_fitting,7_summary}.py: renumber lessons and update the fitting lesson's simulation dependency.scripts/chapter_3_pixelizations/tutorial_5_bayesian_formalism.py: point its Chapter 1 reference to Tutorial 3.Validation
howtolenssmoke run: 49 passed, 0 failed (Python 3.12,profile_smoke.yaml).The scientific prose was reviewed and approved by the human in five-block batches. Critical curves use the teaching grid's pixel scale to avoid the false central contour caused by default resampling of a singular isothermal lens. Automated runs retain Tutorial 3's full field so the Einstein ring and radial experiment remain resolved.
Heart RED development override
The human authorized this task: “I approve development on heart red”.
Current exact Heart reason:
release validation FAILED (stage integrate).Development commit/push/PR only; no release or failed-check bypass. Merge remains a separate human action after required checks pass.
Closes #105.