sablib
Loading...
Searching...
No Matches
goldindec.h
Go to the documentation of this file.
1
9
10#ifndef __SABLIB_GOLDINDEC_H__
11#define __SABLIB_GOLDINDEC_H__
12
13#include <stdexcept>
14#include <vector>
15
16namespace sablib {
17
33const std::vector<double>
35 const std::vector<double> & y, const unsigned int polyorder, const double peak_ratio = 0.5,
36 const double alpha = 0.99 * 0.5, const unsigned int loop = 100, const double eps = 1.0e-4,
37 const unsigned int loop_legend = 50, const double eps_legend = 1e-3, const double eps_s = 1e-4
38);
39
40}; // namespace sablib
41
42#endif // __SABLIB_GOLDINDEC_H__
const std::vector< double > BaselineGoldindec(const std::vector< double > &y, const unsigned int polyorder, double peak_ratio, const double alpha, const unsigned int loop, const double eps, const unsigned int loop_legend, const double eps_legend, const double eps_s)
Performs baseline estimation using the Goldindec algorithm.
Definition goldindec.cpp:21