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
- ``s[i]`` is greater than the size of the input array along a corresponding axis (dimension) ``i``, the corresponding axis of the input array must be zero-padded such that the axis has size ``s[i]``.
95
95
- ``s[i]`` is less than the size of the input array along a corresponding axis (dimension) ``i``, the corresponding axis of the input array must be trimmed such that the axis has size ``s[i]``.
96
96
97
-
98
-
If ``axes`` is not ``None``, size ``s[i]`` corresponds to the size of axis ``axes[j]`` where ``i == j``.
97
+
If ``s`` is not ``None``, ``axes`` must not be ``None`` either, and ``s[i]`` corresponds to the size along the transformed axis specified by ``axes[i]``.
99
98
100
99
If not provided, the size of each transformed axis (dimension) in the output array must equal the size of the corresponding axis in the input array.
101
100
102
101
Default: ``None``.
103
102
axes: Sequence[int]
104
-
axes (dimension) over which to compute the Fourier transform. If ``None`` and ``s`` is not specified, all axes must be transformed. If ``s`` is specified, the corresponding ``axes`` to be transformed must be explicitly specified too. Default: ``None``.
103
+
axes (dimensions) over which to compute the Fourier transform. If ``None``, all axes must be transformed.
104
+
105
+
If ``s`` is specified, the corresponding ``axes`` to be transformed must be explicitly specified too.
106
+
107
+
Default: ``None``.
105
108
norm: Literal['backward', 'ortho', 'forward']
106
109
normalization mode. Should be one of the following modes:
- ``s[i]`` is greater than the size of the input array along a corresponding axis (dimension) ``j``, the corresponding axis of the input array must be zero-padded such that the axis has size ``s[i]``.
138
141
- ``s[i]`` is less than the length of the input array, each axis ``i`` of the input array must be trimmed to the length ``s[i]``.
139
142
140
-
If not provided, the length of the transformed axes of the output must equal the length of the input along the axes specified by ``axes``. Default: ``None``.
143
+
If ``s`` is not ``None``, ``axes`` must not be ``None`` either, and ``s[i]`` corresponds to the size along the transformed axis specified by ``axes[i]``.
144
+
145
+
If not provided, the size of each transformed axis (dimension) in the output array must equal the size of the corresponding axis in the input array.
146
+
147
+
Default: ``None``.
141
148
axes: Sequence[int]
142
-
axes over which to compute the inverse Fourier transform. If not specified, the last ``len(s)`` axes are used, or all axes if ``s`` is not specified either. Default: ``None``.
149
+
axes (dimensions) over which to compute the Fourier transform. If ``None``, all axes must be transformed.
150
+
151
+
If ``s`` is specified, the corresponding ``axes`` to be transformed must be explicitly specified too.
152
+
153
+
Default: ``None``.
143
154
norm: Literal['backward', 'ortho', 'forward']
144
155
specify the normalization mode. Should be one of the following modes:
- ``s[i]`` is greater than the size of the input array along a corresponding axis (dimension) ``j``, the corresponding axis of the input array must be zero-padded such that the axis has size ``s[i]``.
252
263
- ``s[i]`` is less than the length of the input array, each axis ``i`` of the input array must be trimmed to the length ``s[i]``.
253
264
254
-
If not provided, the length of the transformed axes of the output must equal the length of the input along the axes specified by ``axes``. Default: ``None``.
265
+
If ``s`` is not ``None``, ``axes`` must not be ``None`` either, and ``s[i]`` corresponds to the size along the transformed axis specified by ``axes[i]``.
266
+
267
+
If not provided, the size of each transformed axis (dimension) in the output array must equal the size of the corresponding axis in the input array.
268
+
269
+
Default: ``None``.
255
270
axes: Sequence[int]
256
-
axes over which to compute the Fourier transform. If not specified, the last ``len(s)`` axes are used, or all axes if ``s`` is not specified either. Default: ``None``.
271
+
axes (dimensions) over which to compute the Fourier transform. If ``None``, all axes must be transformed.
272
+
273
+
If ``s`` is specified, the corresponding ``axes`` to be transformed must be explicitly specified too.
274
+
275
+
Default: ``None``.
257
276
norm: Literal['backward', 'ortho', 'forward']
258
277
normalization mode. Should be one of the following modes:
- ``s[i]`` is greater than the size of the input array along a corresponding axis (dimension) ``j``, the corresponding axis of the input array must be zero-padded such that the axis has size ``s[i]``.
290
309
- ``s[i]`` is less than the length of the input array, each axis ``i`` of the input array must be trimmed to the length ``s[i]``. Except for the last axis is trimmed to ``2 * (m - 1)``, where `m` is the length of the input along the axis.
291
310
292
-
If not provided, the length of the transformed axes of the output must equal the length of the input along the axes specified by ``axes``. Default: ``None``.
311
+
If ``s`` is not ``None``, ``axes`` must not be ``None`` either, and ``s[i]`` corresponds to the size along the transformed axis specified by ``axes[i]``.
312
+
313
+
If not provided, the size of each transformed axis (dimension) in the output array must equal the size of the corresponding axis in the input array.
314
+
315
+
Default: ``None``.
293
316
axes: Sequence[int]
294
-
axes over which to compute the inverse Fourier transform. If not specified, the last ``len(s)`` axes are used, or all axes if ``s`` is not specified either. Default: ``None``.
317
+
axes (dimensions) over which to compute the Fourier transform. If ``None``, all axes must be transformed.
318
+
319
+
If ``s`` is specified, the corresponding ``axes`` to be transformed must be explicitly specified too.
320
+
321
+
Default: ``None``.
295
322
norm: Literal['backward', 'ortho', 'forward']
296
323
normalization mode. Should be one of the following modes:
0 commit comments