Fourier-transform for Time-Series: Detrending

Detrending your time-series might be a game-changer

Yoann Mocquin
Towards Data Science
8 min readAug 11, 2023

--

Detrending a signal before computing its Fourier transform is a common practice, especially when dealing with time-series.

In this post, I want to show both mathematically and visually how detrending your signal affects its Fourier-transform.

--

--