1#ifndef CLASSIC_SAVITZKY_GOLAY_FILTER_HH
2#define CLASSIC_SAVITZKY_GOLAY_FILTER_HH
12 void apply(std::vector<double> &histogram);
25void savgol(std::vector<double> &
c,
const int &np,
const int &nl,
const int &
nr,
const int &ld,
const int &m);
26void convlv(
const std::vector<double> &data,
const std::vector<double> &respns,
const int &isign, std::vector<double> &ans);
27void ludcmp(std::vector<double> &
a, std::vector<int> &indx,
double &d);
28void lubksb(std::vector<double> &
a, std::vector<int> &indx, std::vector<double> &b);
void convlv(const std::vector< double > &data, const std::vector< double > &respns, const int &isign, std::vector< double > &ans)
void ludcmp(std::vector< double > &a, std::vector< int > &indx, double &d)
void lubksb(std::vector< double > &a, std::vector< int > &indx, std::vector< double > &b)
void savgol(std::vector< double > &c, const int &np, const int &nl, const int &nr, const int &ld, const int &m)
constexpr double c
The velocity of light in m/s.
void apply(std::vector< double > &histogram)
std::vector< double > Coefs_m
std::vector< double > CoefsDeriv_m
SavitzkyGolayFilter(int np, int nl, int nr, int m)
void calc_derivative(std::vector< double > &histogram, const double &h)