sablib
Loading...
Searching...
No Matches
imodpoly.h
Go to the documentation of this file.
1
9
10#ifndef __SABLIB_IMODPOLY_H__
11#define __SABLIB_IMODPOLY_H__
12
13#include <stdexcept>
14
15#include "result_type.h"
16#include "sablib_export.h"
17
18namespace sablib {
19
31SABLIB_EXPORT const BaselineResult BaselineIModPoly(
32 const std::vector<double> & y, const unsigned int polyorder, const double k = 1,
33 const unsigned int loop = 50, const double eps = 1.0e-3
34);
35
36}; // namespace sablib
37
38#endif // __SABLIB_IMODPOLY_H__
const BaselineResult BaselineIModPoly(const std::vector< double > &y, const unsigned int polyorder, const double k, const unsigned int loop, const double eps)
Estimates the baseline using the Improved Modified Polynomial (IModPoly) method.
Definition imodpoly.cpp:19
Common definition of return value for baseline estimation functions.
Return value structure for baseline estimation functions.
Definition result_type.h:19