You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for catching this. It seems the primary change is the order of n and m and the change of coordinate variables.
Additionally, the function supports returning the derivative, which may be interesting to use when calculating the gradient with respect to phi
I guess in this case it could be beneficial to implement a switch for different scipy versions and release a patch before moving to spharpy 1.0.0
There are now also functions which return the spherical harmonics for multiple degrees and orders, same for the Legendre functions. This could be quite useful to avoid loops when building the basis matrix.
sph_harm will be removed in scipy 1.17.
The new sh-function is sph_harm_y
The text was updated successfully, but these errors were encountered: