Skip to content
Commit 921fec4c authored by Ole Koenig's avatar Ole Koenig
Browse files

lag_energy_spectrum: Improve run-time for freq-resolved LES

* Previously, frequency-resolved lag-energy spectrum could be
  completed by looping over the frequency bins and then calling
  lag_energy_spectrum, which loops through the energy bins. However,
  it is much faster to first loop through the energies and then
  through the frequencies (the DFT has to be done only once for each
  LC).
* Change f_min, f_max qualifiers to be arrays (containing the
  frequency grid) instead of doubles. The loop through the frequency
  bins is now implemented in the lag_energy_spectrum function
* Change output struct: now contains all available information. This
  includes a change of the field errlag -> errlag_nowak99
* Export file writing into own function, remove option to pass open
  file pointer to lag_energy_spectrum function
parent 31386cd1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment