We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4139c39 commit 366f9e7Copy full SHA for 366f9e7
s2fft/transforms/spherical.py
@@ -1,5 +1,5 @@
1
from functools import partial
2
-from typing import List
+from typing import List, Optional
3
4
import jax.numpy as jnp
5
import numpy as np
@@ -336,14 +336,14 @@ def forward(
336
f: np.ndarray,
337
L: int,
338
spin: int = 0,
339
- nside: int | None = None,
+ nside: Optional[int] = None,
340
sampling: str = "mw",
341
method: str = "numpy",
342
reality: bool = False,
343
- precomps: List | None = None,
+ precomps: Optional[List] = None,
344
spmd: bool = False,
345
L_lower: int = 0,
346
- iter: int | None = None,
+ iter: Optional[int] = None,
347
_ssht_backend: int = 1,
348
) -> np.ndarray:
349
r"""
0 commit comments