Spectral methods in Python.