ahotovec/REDPyAlpha — pull request #3 by allstadt (2014-08-16 00:17:13+00:00)
Title: First version of data cleaning

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