Skip to content

docs: teach flat MassField fields in HowToLens - #90

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/mass-field-sibling-sweep
Sep 19, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/mass-field-sibling-sweep

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Move the HowToLens lectures from galaxy-attached external shear to the released flat MassField fields=field API. The migration covers 28 construction sites in 22 scripts, keeps the manual prior reset in the search-chaining lesson, and rewrites prior passing to carry the field as its own model. Regenerated notebooks, navigation data, and the executed chapter-1 markdown page mirror the source.

Refs #89.

Scripts Changed

  • scripts/chapter_1_introduction/tutorial_3_more_ray_tracing.py — put the external shear in a separate field on the tracer.
  • scripts/chapter_2_lens_modeling/ — migrate fitted models to bare fields=field; teach field prior passing and preserve the manual prior reset.
  • scripts/chapter_3_pixelizations/ — pass fields into the affected tracer examples and fitting helper.
  • scripts/chapter_4_scaling_up_lensing/ — migrate extra-galaxy models and explain where a system-wide external field belongs.
  • scripts/chapter_optional/tutorial_searches.py and scripts/simulator/ — migrate optional search and simulator examples.

Generated Material

  • Regenerated notebook twins and navigator catalogue from the scripts.
  • Re-rendered markdown/chapter_1_introduction/tutorial_3_more_ray_tracing.md with its figures.

Test Plan

  • AST audit: zero galaxy-attached external-field constructors in scripts and notebooks; 22 affected files carry fields= calls.
  • HowToLens full smoke profile: PASS on all 50 scripts after the final fix.
  • PyAutoHands navigator path and banner checks: PASS.
  • git diff --check: PASS.

Generated by the PyAutoLabs agent workflow.

@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Sep 19, 2026
@Jammy2211
Jammy2211 merged commit de7c8ae into main Sep 19, 2026
7 checks passed
@Jammy2211
Jammy2211 deleted the feature/mass-field-sibling-sweep branch September 19, 2026 19:37
@Jammy2211 Jammy2211 removed the pending-release PR queued for the next release build label Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant