spike detection

Committer:
otis22894
Date:
Wed Sep 28 00:12:53 2016 +0000
Revision:
0:75ea240e0059
initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
otis22894 0:75ea240e0059 1 #include "mbed.h"
otis22894 0:75ea240e0059 2
otis22894 0:75ea240e0059 3 class SpikeFinder {
otis22894 0:75ea240e0059 4 public:
otis22894 0:75ea240e0059 5 int numOld;
otis22894 0:75ea240e0059 6 int numNew;
otis22894 0:75ea240e0059 7 float stdDevs;
otis22894 0:75ea240e0059 8 SpikeFinder(int numOld, int numNew, float stdDevs);
otis22894 0:75ea240e0059 9 void addSample(double newSample);
otis22894 0:75ea240e0059 10 bool lowSpikeFound();
otis22894 0:75ea240e0059 11 bool highSpikeFound();
otis22894 0:75ea240e0059 12 void reset();
otis22894 0:75ea240e0059 13 };