Closed ggiraldo closed 1 year ago
Added methods for computation of spectrums based on the scipy.signal package.
scipy.signal
Routines are available to compute PSDs and regular Spectrums.
The parameters for the computation methods were tested for short signals, as those generated by the LBM simulation result control items.
The original method to compute the integral length scale was renamed and refactored to fit the new workflow, but results are the same.
Original scattered code was added into a test function test_integral_length_scale().
test_integral_length_scale()
A new test function was added to test the correct computation of spectrums using the new routine test_compute_spectrums().
test_compute_spectrums()
Added methods for computation of spectrums based on the
scipy.signal
package.Routines are available to compute PSDs and regular Spectrums.
The parameters for the computation methods were tested for short signals, as those generated by the LBM simulation result control items.
The original method to compute the integral length scale was renamed and refactored to fit the new workflow, but results are the same.
Original scattered code was added into a test function
test_integral_length_scale()
.A new test function was added to test the correct computation of spectrums using the new routine
test_compute_spectrums()
.