angus-g/lagrangian-filtering

Add frequencies to spectrum analysis

Closed this issue · 1 comments

We introduced filtering.analysis.power_spectrum(), which outputs a dictionary of spectra for the sampled variables, but we don't add the spectral frequencies to this dictionary. This would certainly make things a bit easier than requiring a manual call to scipy.fft.fftfreq (or similar).

Closed in 469393c.