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
#include <vector>
15
16
namespace
sablib {
17
29
const
std::vector<double>
BaselineIModPoly
(
30
const
std::vector<double> & y,
const
unsigned
int
polyorder,
const
double
k = 1,
31
const
unsigned
int
loop = 50,
const
double
eps = 1.0e-3
32
);
33
34
};
// namespace sablib
35
36
#endif
// __SABLIB_IMODPOLY_H__
sablib::BaselineIModPoly
const std::vector< double > 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
GitHub
sablib
sablib
baseline
imodpoly.h
Generated by
1.16.1