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
15
#include "
result_type.h
"
16
#include "sablib_export.h"
17
18
namespace
sablib {
19
30
SABLIB_EXPORT
const
BaselineResult
BaselineModPoly
(
31
const
std::vector<double> & y,
const
unsigned
int
polyorder,
32
const
unsigned
int
loop = 50,
const
double
eps = 1.0e-3
33
);
34
35
};
// namespace sablib
36
37
#endif
// __SABLIB_MODPOLY_H__
sablib::BaselineModPoly
const BaselineResult 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
result_type.h
Common definition of return value for baseline estimation functions.
sablib::BaselineResult
Return value structure for baseline estimation functions.
Definition
result_type.h:19
baseline
modpoly.h
Generated by
1.16.1