python - Power spectral density of a signal with gaps? -
does know if possible find power spectral density of signal gaps in it. example (in matlab syntax cause i'm familiar with)
ta=1:1000; tb=1200:3000; t=[ta tb]; % timebase signal=randn(size(t)); signal figure(101) plot(t,signal,'.')
i'd able determine frequencies on longer time base individual sections of data. take psd of individual sections limit lowest frequency. interpolate data, colour psd.
any thoughts appreciated.
the lomb-scargle periodogram algorithm used perform analysis on unevenly spaced data (sampled @ arbitrary time points) or when proportion of data missing.
here's couple of matlab implementations:
Comments
Post a Comment