[SciPy-User] Does Lomb-Scargle reduce to FFT for uniform data?
I am trying to use the Lomb-Scargle periodogram for a timeseries
dataset of energy consumption with some missing values. In order to
understand it better, I am trying to compare it to an FFT with
linearly interpolated data. However, the values are not even in the
same order of magnitude. According to  (see section 5), the
Lomb-Scargle method reduces to a Discrete Fourier Transform when there
are no missing values in the data.
I have double-checked regarding normalisation which are not present in
my invocations of `fft` and `lombscargle`. I have also tried running
`lombscargle` with the interpolated dataset (i.e. invoking both `fft`
and `lombscargle` for the exact same dataset), but still the values
are at completely different scales (1e8 vs 7e3).
Stripped down code with both methods running on the SAME dataset to
illustrate the issue (the field "num" in tmdata dataframe is just a
import scipy.fftpack as spf
import scipy.signal as sps