#ifndef __SPIKEREMOVAL_H #define __SPIKEREMOVAL_H #include std::vector * computeN1mean( std::vector &src); void removeSpikes( std::vector &src, std::vector &dest, const float CandidateTHR = -5.0, const float nextDiffTHR = -1.6, const float nextNextDiffTHR = -10. ); #endif