sablib
Loading...
Searching...
No Matches
backcor.h
Go to the documentation of this file.
1
10
11#ifndef __SABLIB_BACKCOR_H__
12#define __SABLIB_BACKCOR_H__
13
14#include <stdexcept>
15#include <vector>
16
17namespace sablib {
18
34
51const std::vector<double>
52BaselineBackcor(
53 const std::vector<double> & y, const unsigned int polyorder, const BackcorFunc func = BackcorFunc::ATQuad,
54 const double s = 1, const double alpha = 0.99 * 0.5, const unsigned int loop = 50, const double eps = 1.0e-3
55);
56
57}; // namespace sablib
58
59#endif // __SABLIB_BACKCOR_H__
BackcorFunc
Cost function types for the Backcor algorithm.
Definition backcor.h:26