Skip to content

Commit a53085b

Browse files
committed
Update to numpy==2
1 parent 7f6b231 commit a53085b

File tree

2 files changed

+83
-83
lines changed

2 files changed

+83
-83
lines changed

src/pyssht/SSHT_Python_Documentation.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -454,11 +454,11 @@ Tuple containing `(x_p, y_p, z_p)` the rotated coordinates the same shape and ty
454454
## pyssht.rot_cart_1d and pyssht.rot_cart_2d
455455

456456
~~~~{.python}
457-
(x_p, y_p, z_p) = pyssht.rot_cart_1d(np.ndarray[np.float_t, ndim=1] x, np.ndarray[np.float_t, ndim=1] y, np.ndarray[np.float_t, ndim=1] z, list rot)
457+
(x_p, y_p, z_p) = pyssht.rot_cart_1d(np.ndarray[np.float64_t, ndim=1] x, np.ndarray[np.float64_t, ndim=1] y, np.ndarray[np.float64_t, ndim=1] z, list rot)
458458
~~~~
459459

460460
~~~~{.python}
461-
(x_p, y_p, z_p) = pyssht.rot_cart_2d(np.ndarray[np.float_t, ndim=2] x, np.ndarray[np.float_t, ndim=2] y, np.ndarray[np.float_t, ndim=2] z, list rot)
461+
(x_p, y_p, z_p) = pyssht.rot_cart_2d(np.ndarray[np.float64_t, ndim=2] x, np.ndarray[np.float64_t, ndim=2] y, np.ndarray[np.float64_t, ndim=2] z, list rot)
462462
~~~~
463463

464464
Computes the rotations of the cartesian coordinates given a set of Euler angles. The inputs can be any shape `ndarray`s. Same as `pyssht.rot_cart` except optimised for arrays that are 1 or 2 dimensional.

0 commit comments

Comments
 (0)