Skip to content

docs: correct PointSolver residual_threshold docstring - #801

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/point-solver-guide
Oct 24, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/point-solver-guide

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Corrects the residual_threshold docstring that #800 added. This is a docstring-only change.

  • Newton distance: the old text said the Newton distance |A⁻¹r| would accept the core candidate. That holds for steep power laws (slope > 2) and point masses, where |A⁻¹r| is about one triangle edge. It is wrong for a zero-core dPIE, where |A⁻¹r| is large. Near a fold or cusp, true images also reach several triangle edges. Either way it is not a general singularity test, which is why it is not used.
  • Coarse precision: the cut has a margin of about 1.3× at precision 0.005, and core candidates survive at 0.01.
  • Central images: the filter rejects demagnified central images of very elliptical, small-core profiles (about 11× the precision). Those images have |μ| of about 0.01–0.02, so it only matters when magnification_threshold is below about 0.02.

These come from the 2026-10-24 adversarial review, which put a Newton-distance filter on hold and moved it to research. The user-facing summary is the new workspace guide, guides/point_solver/limitations.py (autolens_workspace#599).

API Changes

None — docstring only.
See full details below.

Test Plan

  • pytest test_autolens/point: 319 passed, 1 xfailed
Full API Changes (for automation & release notes)

None.

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

…ce, coarse precision, central images)

Refs PyAutoLabs/autolens_workspace#599

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit c6927ee into main Oct 24, 2026
4 checks passed
@Jammy2211
Jammy2211 deleted the feature/point-solver-guide branch October 24, 2026 12:02
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