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
15
#include "
../smoothing/whittaker.h
"
16
17
namespace
sablib {
18
30
const
std::vector<double>
BaselineArPLS
(
31
std::vector<double> & y,
const
double
lambda,
const
unsigned
int
s = 2,
32
const
unsigned
int
loop = 50,
const
double
eps = 1e-3
33
);
34
35
};
// namespace sablib
36
37
#endif
// __SABLIB_ARPLS_H__
sablib::BaselineArPLS
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:17
whittaker.h
Smoothing using Whittaker smoother.
baseline
arpls.h
Generated by
1.16.1