ahotovec / REDPy

Repeating Earthquake Detector (Python)
GNU General Public License v3.0
82 stars 39 forks source link

First version of data cleaning #3

Closed allstadt closed 10 years ago

allstadt commented 10 years ago

I added a def to redpy.trigger that cleans spikes by computing kurtosis in a window around the trigger time, cleans calibration pulses by computing kurtosis of the fft and seeing if the fft is too spiked, and to clean square waves by computing the ratio of outlier samples to all samples. Events that are classified as junk are stored in a new Junk table (jtable). Also added a way to plot the junk events in redpy.plotting that is run in scaletest.py