Skip to content

Remove pynufft references following its removal from PyAutoArray - #497

Merged
Jammy2211 merged 1 commit into
mainfrom
claude/remove-pynufft-6uwt2z
Aug 22, 2026
Merged

Remove pynufft references following its removal from PyAutoArray#497
Jammy2211 merged 1 commit into
mainfrom
claude/remove-pynufft-6uwt2z

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Workspace follow-up to PyAutoLabs/PyAutoArray#475 (merged), which removed TransformerNUFFTPyNUFFT and the pynufft dependency.

The prose describing that class as a "non-JAX fallback" now points at something that does not exist. Several of these passages were already stale before this change: they described TransformerNUFFT as pynufft-backed and not JAX-traceable, which stopped being true at the nufftax migration.

  • scripts/interferometer/start_here.py — the __JAX__ section told readers to use TransformerDFT because "TransformerNUFFT (pynufft) … is not JAX-traceable" and called nufftax "a research path". Both transformers are JAX-traceable and nufftax is the shipped backend.
  • scripts/guides/using_jax.py, scripts/interferometer/simulator.py, scripts/interferometer/features/linear_light_profiles/modeling.py — dropped the legacy-fallback clauses.
  • start_here.py — the feature blurb cited PyNUFFT as the uv-plane NUFFT; now cites nufftax.

Where the removed text pointed readers at a non-JAX fallback, the replacement names the real constraint instead: nufftax requires JAX, which ships no wheels for Intel macOS (jaxlib's last x86_64 macOS wheel was 0.4.38, Dec 2024, and jaxlib has never shipped an sdist), so TransformerDFT is the option there.

Scripts Changed

  • start_here.py
  • scripts/interferometer/start_here.py
  • scripts/interferometer/simulator.py
  • scripts/interferometer/features/linear_light_profiles/modeling.py
  • scripts/guides/using_jax.py

notebooks/ and markdown/ carry the same prose and are regenerated from scripts/ at release time. The equivalent edits are applied here directly so they are not stale in the interim — the next pre_build regeneration produces the same text. Notebook JSON was edited in place rather than round-tripped through a parser, so the diffs stay surgical (5 lines) instead of reformatting whole files.

Test Plan

  • No pynufft / PyNUFFT / TransformerNUFFTPyNUFFT references remain anywhere in the repo
  • All 355 notebooks still parse as valid JSON after the in-place edits
  • Prose changes only — no executable code paths touched

Generated by Claude Code

`TransformerNUFFTPyNUFFT` no longer exists, so the prose describing it as a
"non-JAX fallback" is dead. Several of these passages were already stale
before this change: they described `TransformerNUFFT` as pynufft-backed and
not JAX-traceable, which stopped being true at the nufftax migration.

- `scripts/interferometer/start_here.py` — the `__JAX__` section claimed
  `TransformerNUFFT` (pynufft) was not JAX-traceable and that nufftax was a
  "research path". Both transformers are JAX-traceable; nufftax is the
  shipped backend.
- `scripts/guides/using_jax.py`, `scripts/interferometer/simulator.py`,
  `scripts/interferometer/features/linear_light_profiles/modeling.py` —
  dropped the legacy-fallback clauses.
- `start_here.py` — the feature blurb cited PyNUFFT as the uv-plane NUFFT;
  now cites nufftax.

Where the removed text pointed at a non-JAX fallback, the replacement names
the real constraint instead: nufftax requires JAX, which has no wheels for
Intel macOS, so `TransformerDFT` is the option there.

`notebooks/` and `markdown/` carry the same prose and are regenerated from
`scripts/` at release time; the equivalent edits are applied here directly so
they are not stale in the interim. Notebook JSON was edited in place rather
than round-tripped, to avoid reformatting churn.
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.

2 participants