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
16#include "result_type.h"
17
18#include "sablib_export.h"
19
20namespace sablib {
21
33SABLIB_EXPORT const BaselineResult BaselineAirPLS(
34 const std::vector<double> & y, const double lambda, const unsigned int s = 2,
35 const unsigned int loop = 50, const double eps = 1e-3
36);
37
38}; // namespace sablib
39
40#endif // __SABLIB_AIRPLS_H__
const BaselineResult BaselineAirPLS(const 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:18
Common definition of return value for baseline estimation functions.
Return value structure for baseline estimation functions.
Definition result_type.h:19