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
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