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 "
../smoothing/whittaker.h
"
17
18
namespace
sablib {
19
32
const
std::vector<double>
BaselineAsLS
(
33
std::vector<double> & y,
const
double
lambda,
const
double
p,
const
unsigned
int
s = 2,
34
const
unsigned
int
loop = 10,
const
double
eps = 1e-3
35
);
36
37
};
// namespace sablib
38
39
#endif
// __SABLIB_ASLS_H__
sablib::BaselineAsLS
const std::vector< double > BaselineAsLS(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:14
whittaker.h
Smoothing using Whittaker smoother.
baseline
asls.h
Generated by
1.16.1