sablib
Loading...
Searching...
No Matches
arpls.h
Go to the documentation of this file.
1
9
10#ifndef __SABLIB_ARPLS_H__
11#define __SABLIB_ARPLS_H__
12
13#include <stdexcept>
14#include <vector>
15
16namespace sablib {
17
29const std::vector<double> BaselineArPLS(
30 std::vector<double> & y, const double lambda, const unsigned int s = 2,
31 const unsigned int loop = 50, const double eps = 1e-3
32);
33
34}; // namespace sablib
35
36#endif // __SABLIB_ARPLS_H__
const std::vector< double > BaselineArPLS(std::vector< double > &y, const double lambda, const unsigned int s, const unsigned int loop, const double eps)
Performs baseline estimation using asymmetrically reweighted Penalized Least Squares(arPLS).
Definition arpls.cpp:18