13 #ifndef IWaveformTool_H 14 #define IWaveformTool_H 21 template <
class T>
using Waveform = std::vector<T>;
49 virtual void triangleSmooth(
const std::vector<float>&, std::vector<float>&,
size_t = 0)
const = 0;
50 virtual void triangleSmooth(
const std::vector<double>&, std::vector<double>&,
size_t = 0)
const = 0;
51 virtual void medianSmooth(
const std::vector<float>&, std::vector<float>&,
size_t = 3)
const = 0;
52 virtual void medianSmooth(
const std::vector<double>&, std::vector<double>&,
size_t = 3)
const = 0;
53 virtual void getTruncatedMeanRMS(
const std::vector<float>&,
float&,
float&,
float&,
int&)
const = 0;
54 virtual void getTruncatedMeanRMS(
const std::vector<double>&,
double&,
double&,
double&,
int&)
const = 0;
55 virtual void firstDerivative(
const std::vector<float>&, std::vector<float>&)
const = 0;
56 virtual void firstDerivative(
const std::vector<double>&, std::vector<double>&)
const = 0;
59 virtual void getFFTPower(
const std::vector<float>& inputVec, std::vector<float>& outputPowerVec)
const = 0;
60 virtual void getFFTPower(
const std::vector<double>& inputVec, std::vector<double>& outputPowerVec)
const = 0;