Skip to content

Support SciPy >= 1.15.0 compatibility for Spherical Harmonics#29

Merged
haakoek merged 3 commits intomainfrom
sph_harm_and_sph_harm_y_compability
Apr 13, 2026
Merged

Support SciPy >= 1.15.0 compatibility for Spherical Harmonics#29
haakoek merged 3 commits intomainfrom
sph_harm_and_sph_harm_y_compability

Conversation

@haakoek
Copy link
Copy Markdown
Collaborator

@haakoek haakoek commented Apr 13, 2026

SciPy 1.15.0 deprecated scipy.special.sph_harm in favor of scipy.special.sph_harm_y. The new function introduces breaking changes: it swaps the order of degree/order (n,m) and the order of coordinate angles (polar, azimuthal).

This pull request adds a compatibility wrapper to ensure the codebase remains functional across SciPy versions < 1.15 and >= 1.15.

@haakoek haakoek merged commit 9350f08 into main Apr 13, 2026
2 checks passed
@haakoek haakoek deleted the sph_harm_and_sph_harm_y_compability branch April 13, 2026 13:03
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