-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Closed
Labels
DocumentationIssues related to the SciPy documentation. Also check https://github.com/scipy/scipy.orgIssues related to the SciPy documentation. Also check https://github.com/scipy/scipy.orgscipy.fft
Description
For documentation of scipy.fft.fftfreq the example uses numpy's fft module. Shouldn't it use the scipy one ?
signal = np.array([-2, 8, 6, 4, 1, 0, 3, 5], dtype=float)
fourier = np.fft.fft(signal)
n = signal.size
timestep = 0.1
freq = np.fft.fftfreq(n, d=timestep)
freq
WarrenWeckesser
Metadata
Metadata
Assignees
Labels
DocumentationIssues related to the SciPy documentation. Also check https://github.com/scipy/scipy.orgIssues related to the SciPy documentation. Also check https://github.com/scipy/scipy.orgscipy.fft