Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions scripts/chapter_1_introduction/tutorial_2_ray_tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,13 @@
Tutorial 3 explains the cosmological distances behind this
conversion, as part of its optional mathematical discussion.

If you try changing the lens and source redshifts, you will find
the lensed image does not change at all. That is expected: our
lens is set by an angle, and only its physical size and mass
depend on the redshifts. The workspace's
[redshifts and angles guide](https://github.com/PyAutoLabs/autolens_workspace/blob/main/scripts/guides/units/redshifts_and_angles.py)
explains why.

__More Complexity__

Our tracer currently contains one spherical lens and one source.
Expand Down
8 changes: 8 additions & 0 deletions scripts/chapter_1_introduction/tutorial_3_more_ray_tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,14 @@
Our `IsothermalSph` profile specifies this angular scale
directly through its `einstein_radius` parameter.

Because we fix the angle rather than the mass or velocity
dispersion, the distances are already absorbed into it, so
changing the redshifts changes the physical mass but not the
image. The workspace's
[redshifts and angles guide](https://github.com/PyAutoLabs/autolens_workspace/blob/main/scripts/guides/units/redshifts_and_angles.py)
shows this with two redshift pairs, and compares it with codes
that start from a physical mass instead.

For a circular lens, the mean convergence inside the Einstein
radius equals one. Its enclosed projected mass is therefore

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,11 @@
quantities. Here, we use the highest source redshift consistently for the scaling members. The tracer then
evaluates the lens mapping to each source's own plane; this does not place every source at that reference
redshift.

Unlike the angular `einstein_radius` we used for galaxy-scale lenses, `sigma` is a physical quantity, so here the
redshifts do change the lensed images. The workspace's
[redshifts and angles guide](https://github.com/PyAutoLabs/autolens_workspace/blob/main/scripts/guides/units/redshifts_and_angles.py)
explains the difference between the two approaches.
"""
scaling_sigma_ref = af.UniformPrior(lower_limit=0.0, upper_limit=200.0)
scaling_sigma_exponent = 0.25 # alpha (Faber-Jackson)
Expand Down
8 changes: 6 additions & 2 deletions workspace_index.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
"Env"
],
"cross_refs": [
"//github.com/PyAutoLabs/autolens_assistant/blob/main/docs/colab/cosmos_web_ring_colab.py"
"//github.com/PyAutoLabs/autolens_assistant/blob/main/docs/colab/cosmos_web_ring_colab.py",
"//github.com/PyAutoLabs/autolens_workspace/blob/main/scripts/guides/units/redshifts_and_angles.py"
],
"notebook": "notebooks/chapter_1_introduction/tutorial_2_ray_tracing.ipynb",
"path": "scripts/chapter_1_introduction/tutorial_2_ray_tracing.py",
Expand All @@ -77,7 +78,9 @@
"Wrap Up",
"Env"
],
"cross_refs": [],
"cross_refs": [
"//github.com/PyAutoLabs/autolens_workspace/blob/main/scripts/guides/units/redshifts_and_angles.py"
],
"notebook": "notebooks/chapter_1_introduction/tutorial_3_more_ray_tracing.ipynb",
"path": "scripts/chapter_1_introduction/tutorial_3_more_ray_tracing.py",
"summary": "In tutorial 2, we used the lens equation to trace coordinates from the image plane to the source plane and build an image of a strong lens.",
Expand Down Expand Up @@ -620,6 +623,7 @@
"Wrap Up"
],
"cross_refs": [
"//github.com/PyAutoLabs/autolens_workspace/blob/main/scripts/guides/units/redshifts_and_angles.py",
"autolens_workspace/scripts/guides/point_solver/pairing.py"
],
"notebook": "notebooks/chapter_4_scaling_up_lensing/tutorial_5_cluster_scale.ipynb",
Expand Down
Loading