sablib
Loading...
Searching...
No Matches
asls.h
Go to the documentation of this file.
1
10
11#ifndef __SABLIB_ASLS_H__
12#define __SABLIB_ASLS_H__
13
14#include <stdexcept>
15
16#include "result_type.h"
17#include "sablib_export.h"
18
19namespace sablib {
20
33SABLIB_EXPORT const BaselineResult BaselineAsLS(
34 const std::vector<double> & y, const double lambda, const double p, const unsigned int s = 2,
35 const unsigned int loop = 10, const double eps = 1e-3
36);
37
38}; // namespace sablib
39
40#endif // __SABLIB_ASLS_H__
const BaselineResult BaselineAsLS(const std::vector< double > &y, const double lambda, const double p, const unsigned int s, const unsigned int loop, const double eps)
Performs baseline estimation using Asymmetric Least Squares Smoothing (AsLS).
Definition asls.cpp:16
Common definition of return value for baseline estimation functions.
Return value structure for baseline estimation functions.
Definition result_type.h:19