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
15#include "result_type.h"
16#include "sablib_export.h"
17
18namespace sablib {
19
35SABLIB_EXPORT const BaselineResult
37 const std::vector<double> & y, const unsigned int polyorder, const double peak_ratio = 0.5,
38 const double alpha = 0.99 * 0.5, const unsigned int loop = 100, const double eps = 1.0e-4,
39 const unsigned int loop_legend = 50, const double eps_legend = 1e-3, const double eps_s = 1e-4
40);
41
42}; // namespace sablib
43
44#endif // __SABLIB_GOLDINDEC_H__
const BaselineResult 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
Common definition of return value for baseline estimation functions.
Return value structure for baseline estimation functions.
Definition result_type.h:19