Skip to content

Remove pynufft following its removal from PyAutoArray - #709

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

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

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Companion to PyAutoLabs/PyAutoArray#475, which removes TransformerNUFFTPyNUFFT and the pynufft dependency.

Drops the TransformerNUFFTPyNUFFT re-export from autolens/__init__.py:30 — it would raise ImportError at import once PyAutoArray's removal lands — and removes pynufft from the optional extra.

Also updates the live documentation and citation surface, which still described PyNUFFT as the interferometer NUFFT backend. The installation pages actively instructed users to pip install pynufft; they now point at nufftax, and the feature overview names the backend actually in use. nufftax was already cited in files/citations.{md,tex,bib}, so the PyNUFFT entries are simply dropped rather than replaced.

paper/ is deliberately untouched — those are published JOSS records of what the software used at time of publication, not live documentation.

Merge order: merge PyAutoGalaxy#583 first, then this, then PyAutoArray#475 last. Dropping a re-export is safe against an autoarray that still has the class, so main is never red.

API Changes

Breaking: autolens.TransformerNUFFTPyNUFFT is no longer re-exported (the class itself is removed upstream in PyAutoArray#475). Migration is autolens.TransformerNUFFT, or autolens.TransformerDFT where JAX is unavailable. pynufft is no longer an optional dependency.

See full details below.

Test Plan

  • pytest test_autolens532 passed, 1 skipped against PyAutoArray's and PyAutoGalaxy's claude/remove-pynufft-6uwt2z branches (Python 3.13)
  • import autolens succeeds; hasattr(al, "TransformerNUFFTPyNUFFT") is False
  • No pynufft references remain outside paper/
Full API Changes (for automation & release notes)

Removed

  • autolens.TransformerNUFFTPyNUFFT — re-export of the class removed in PyAutoArray#475; replaced by autolens.TransformerNUFFT
  • pynufft from [project.optional-dependencies] optional

Changed Behaviour

  • None in library code. Documentation and citation changes only, beyond the dropped re-export.

Migration

  • Before: transformer = al.TransformerNUFFTPyNUFFT(uv_wavelengths=uv, real_space_mask=mask)
  • After: transformer = al.TransformerNUFFT(uv_wavelengths=uv, real_space_mask=mask)
  • Without JAX (e.g. Intel macOS): transformer = al.TransformerDFT(uv_wavelengths=uv, real_space_mask=mask)

Generated by Claude Code

Drops the `TransformerNUFFTPyNUFFT` re-export from `autolens/__init__.py`,
which would raise ImportError once PyAutoArray removes the class, and
removes `pynufft` from the `optional` extra.

Also updates the live documentation and citation surface, which described
PyNUFFT as the interferometer NUFFT backend: the installation pages now
point at `nufftax`, the feature overview names the backend actually in
use, and the citation lists (`files/citations.{md,tex,bib}`) cite nufftax
in its place.

`paper/` is deliberately untouched — those are published records of what
the software used at time of publication, not live documentation.

Must merge together with the PyAutoArray removal.
@Jammy2211
Jammy2211 merged commit c9dd75d into main Aug 22, 2026
4 checks passed
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