SciPy

Removing linear tendency (or drift) from data using SciPy