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 0ba5ff4 commit d291db1Copy full SHA for d291db1
pysteps/utils/spectral.py
@@ -47,6 +47,7 @@ def rapsd(Z, fft_method=None, **fft_kwargs):
47
48
if fft_method is not None:
49
F = fft_method.fftshift(fft_method.fft2(Z, **fft_kwargs))
50
+ F = np.abs(F)**2/F.size
51
else:
52
F = Z
53
0 commit comments