Repository navigation
docs: imaging pixelization fit.py CPU Users paragraph was the interferometer text (#506) - #507
Merged
Merged
Conversation
…rometer text (#506) The `__CPU Users__` block in `scripts/imaging/features/pixelization/fit.py` described visibilities, set up "taking over hours", and pointed at `features/pixelization/many_visibilities_preparation`, which exists only under `scripts/interferometer/`. Replaced with the imaging-correct guidance: on CPU the linear algebra is fastest via the sparse operator formalism set up once with `dataset.apply_sparse_operator_cpu()`, with `features/pixelization/cpu_fast_modeling` as the worked example. The matching `__Contents__` bullet is updated. Prose only; no code or behaviour change. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XySQZP6Npj4adZMkYZ96Bo
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
The
__CPU Users__docstring block inscripts/imaging/features/pixelization/fit.pywas theinterferometer paragraph: it talked about visibilities, set up "taking over hours", and pointed at
features/pixelization/many_visibilities_preparation, which exists only underscripts/interferometer/— so an imaging reader following it hit a dead link and misleading advice.It is replaced with the imaging-correct guidance: on CPU the linear algebra of a pixelized source
reconstruction is fastest via the sparse operator formalism set up once with
dataset.apply_sparse_operator_cpu(), andfeatures/pixelization/cpu_fast_modeling(which doesexist in this directory) shows the full CPU set up. The matching
__Contents__bullet is updated toa one-line summary of the same.
Prose only — no code or behaviour change.
Scripts Changed
scripts/imaging/features/pixelization/fit.py—__CPU Users__docstring paragraph rewritten(interferometer text → imaging sparse-operator CPU guidance), and the
- **CPU Users:**__Contents__bullet updated to match.Test Plan
python -c "import ast; ast.parse(open(...).read())"on the edited script — parses.(
PyAutoHands/autohands/run_python.py autolens_workspace scripts --list <one-entry list> --env-config config/build/profile_smoke.yaml) —PASS (12.6s).session).
Library PR: PyAutoLabs/PyAutoArray#504 (comment-only, no gate dependency). Closes #506.
Generated by the PyAutoLabs agent workflow.