obspy.signal.konnoohmachismoothing

Functions to smooth spectra with the so called Konno & Ohmachi method.

copyright

The ObsPy Development Team (devs@obspy.org)

license

GNU Lesser General Public License, Version 3 (https://www.gnu.org/copyleft/lesser.html)

Public Functions

apply_smoothing_matrix

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.

calculate_smoothing_matrix

Calculates a len(frequencies) x len(frequencies) matrix with the Konno & Ohmachi window for each frequency as the center frequency.

konno_ohmachi_smoothing

Smooths a matrix containing one spectra per row with the Konno-Ohmachi smoothing window.

konno_ohmachi_smoothing_window

Returns the Konno & Ohmachi Smoothing window for every frequency in frequencies.