Skip to content

Commit 5fea172

Browse files
committed
bug: fix num_threads_per_blocks from size of 2 to 3
1 parent be75cc5 commit 5fea172

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pylops/signalprocessing/fourierradon3d.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,17 @@ class FourierRadon3D(LinearOperator):
5050
flims : :obj:`tuple`, optional
5151
Indices of lower and upper limits of Fourier axis to be used in
5252
the application of the Radon matrix (when ``None``, use entire axis)
53-
kind : :obj:`tuple`
53+
kind : :obj:`tuple`, optional
5454
Curves to be used for stacking/spreading along the y- and x- axes
5555
(``("linear", "linear")``, ``("linear", "parabolic")``,
5656
``("parabolic", "linear")``, or ``("parabolic", "parabolic")``)
57-
engine : :obj:`str`
57+
engine : :obj:`str`, optional
5858
Engine used for computation (``numpy`` or ``numba`` or ``cuda``)
59-
num_threads_per_blocks : :obj:`tuple`
59+
num_threads_per_blocks : :obj:`tuple`, optional
6060
Number of threads in each block (only when ``engine=cuda``)
61-
dtype : :obj:`str`
61+
dtype : :obj:`str`, optional
6262
Type of elements in input array.
63-
name : :obj:`str`
63+
name : :obj:`str`, optional
6464
Name of operator (to be used by :func:`pylops.utils.describe.describe`)
6565
6666
Attributes
@@ -128,7 +128,7 @@ def __init__(
128128
flims: Optional[Tuple[int, int]] = None,
129129
kind: Tuple[str, str] = ("linear", "linear"),
130130
engine: str = "numpy",
131-
num_threads_per_blocks: Tuple[int, int] = (32, 32),
131+
num_threads_per_blocks: Tuple[int, int, int] = (2, 16, 16),
132132
dtype: DTypeLike = "float64",
133133
name: str = "R",
134134
) -> None:

0 commit comments

Comments
 (0)