Python lessons

Math and Science with Python

Solve equations, integrals, derivatives and differential equations, fit curves and analyse signals with SymPy, SciPy and NumPy, in runnable examples.

Run Math and Science with Python online

17 lessons

FFT in Python with NumPy

Use the FFT in Python with numpy.fft.rfft and rfftfreq to find the frequencies in a signal, with correctly scaled amplitudes.

View example →