0

I have some epidemiological data. The data is inherently periodic, and so I would like to visualize the power spectra so as to gain insight into the frequency of oscillations.

enter image description here

The book I am reading outlines a method to visualize the power spectra:

  1. De-trend the data
  2. Compute the fourier transform of the autocorrelation function of the detrended data.
  3. smooth with suitable spectral window such as Tukey WIndow or Bartlett window.

(Book is Mathematical Epidemiology, page 311-312).

I was wondering if there is a function in python to do this? If not, what functions and libraries can I use?

Demetri Pananos
  • 6,770
  • 9
  • 42
  • 73

0 Answers0