sablib
Loading...
Searching...
No Matches
airpls.h
Go to the documentation of this file.
1
10
11#ifndef __SABLIB_AIRPLS_H__
12#define __SABLIB_AIRPLS_H__
13
14#include <stdexcept>
15
17
18namespace sablib {
19
31const std::vector<double> BaselineAirPLS(
32 std::vector<double> & y, const double lambda, const unsigned int s = 2,
33 const unsigned int loop = 50, const double eps = 1e-3
34);
35
36}; // namespace sablib
37
38#endif // __SABLIB_AIRPLS_H__
const std::vector< double > BaselineAirPLS(std::vector< double > &y, const double lambda, const unsigned int s, const unsigned int loop, const double eps)
Performs baseline estimation using adaptive iteratively reweighted Penalized Least Squares(airPLS).
Definition airpls.cpp:16
Smoothing using Whittaker smoother.