obspy.signal.konnoohmachismoothing.apply_smoothing_matrix
- apply_smoothing_matrix(spectra, smoothing_matrix, count=1)[source]
Smooths a matrix containing one spectra per row with the Konno-Ohmachi smoothing window, using a smoothing matrix pre-computed through the
calculate_smoothing_matrix()
function. This function is useful if one needs to smooth the same type of spectrum (same shape) through different function calls.All spectra need to have frequency bins corresponding to the same frequencies.