summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBas van Beek <b.f.van.beek@vu.nl>2021-04-23 14:04:59 +0200
committerBas van Beek <b.f.van.beek@vu.nl>2021-04-23 14:21:50 +0200
commit350d7a55d75e916159e3e31417e3a164f6dab73c (patch)
treef295f2d6c9109ec23118e675832d017533d86783
parent7d79aecb0fe5a9ef1465f8ba46ed2dd3394bf90d (diff)
downloadnumpy-350d7a55d75e916159e3e31417e3a164f6dab73c.tar.gz
ENH: Add improved placeholder annotations for `np.fft`
-rw-r--r--numpy/fft/__init__.pyi36
1 files changed, 18 insertions, 18 deletions
diff --git a/numpy/fft/__init__.pyi b/numpy/fft/__init__.pyi
index bb4fae903..3c191a35f 100644
--- a/numpy/fft/__init__.pyi
+++ b/numpy/fft/__init__.pyi
@@ -2,21 +2,21 @@ from typing import Any, List
__all__: List[str]
-fft: Any
-ifft: Any
-rfft: Any
-irfft: Any
-hfft: Any
-ihfft: Any
-rfftn: Any
-irfftn: Any
-rfft2: Any
-irfft2: Any
-fft2: Any
-ifft2: Any
-fftn: Any
-ifftn: Any
-fftshift: Any
-ifftshift: Any
-fftfreq: Any
-rfftfreq: Any
+def fft(a, n=..., axis=..., norm=...): ...
+def ifft(a, n=..., axis=..., norm=...): ...
+def rfft(a, n=..., axis=..., norm=...): ...
+def irfft(a, n=..., axis=..., norm=...): ...
+def hfft(a, n=..., axis=..., norm=...): ...
+def ihfft(a, n=..., axis=..., norm=...): ...
+def fftn(a, s=..., axes=..., norm=...): ...
+def ifftn(a, s=..., axes=..., norm=...): ...
+def rfftn(a, s=..., axes=..., norm=...): ...
+def irfftn(a, s=..., axes=..., norm=...): ...
+def fft2(a, s=..., axes=..., norm=...): ...
+def ifft2(a, s=..., axes=..., norm=...): ...
+def rfft2(a, s=..., axes=..., norm=...): ...
+def irfft2(a, s=..., axes=..., norm=...): ...
+def fftshift(x, axes=...): ...
+def ifftshift(x, axes=...): ...
+def fftfreq(n, d=...): ...
+def rfftfreq(n, d=...): ...