sablib
Loading...
Searching...
No Matches
modpoly.h
Go to the documentation of this file.
1
9
10#ifndef __SABLIB_MODPOLY_H__
11#define __SABLIB_MODPOLY_H__
12
13#include <stdexcept>
14#include <vector>
15
16namespace sablib {
17
28const std::vector<double> BaselineModPoly(
29 const std::vector<double> & y, const unsigned int polyorder,
30 const unsigned int loop = 50, const double eps = 1.0e-3
31);
32
33}; // namespace sablib
34
35#endif // __SABLIB_MODPOLY_H__
const std::vector< double > BaselineModPoly(const std::vector< double > &y, const unsigned int polyorder, const unsigned int loop, const double eps)
Estimates the baseline using the Modified Polynomial (ModPoly) method.
Definition modpoly.cpp:16