Fourier-transform for Time-Series: Detrending | by Yoann Mocquin | Aug, 2023

Detrending your -series might be a -changer

Yoann Mocquin
Towards Data Science

Detrending a signal before 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.

All by author.

This post is the fourth of my Fourier-transform for time-series series: I use very simple examples and a few mathematical to explain various concepts of the Fourier transform. You don’t need to read them in the order below, I’d rather recommend going back and forth between each article.

Check out the previous posts here:

  • how the convolution relate to the Fourier transform and how fast it is:
  • Deepen your understanding of convolution using examples:
  • Understand how the Fourier-transform can be visualy understood using a vector-visual :

In this post, we are going to explore 2 kinds of detrends : we’ll call them ‘constant‘ and ‘linear‘ detrendings.

The end goal of this post is to make you understand what are constant and linear detrending, why we use them, and how they affects the Fourier-transform of the signal.

Source link