5.4. despike¶
Functions for despiking seismic data.
| copyright: | Calum Chamberlain. |
|---|---|
| license: | GNU Lesser General Public License, Version 3 (https://www.gnu.org/copyleft/lesser.html) |
-
despike.median_filter(tr, multiplier=10, windowlength=0.5, interp_len=0.05, debug=0)[source]¶ Filter out spikes in data according to the median absolute deviation of the data. Replaces spikes with linear interpolation. Works in-place on data.
Parameters: Returns: obspy.trace