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 "
result_type.h
"
16
#include "sablib_export.h"
17
18
namespace
sablib {
19
31
SABLIB_EXPORT
const
BaselineResult
BaselineArPLS
(
32
const
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_ARPLS_H__
sablib::BaselineArPLS
const BaselineResult BaselineArPLS(const 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:18
result_type.h
Common definition of return value for baseline estimation functions.
sablib::BaselineResult
Return value structure for baseline estimation functions.
Definition
result_type.h:19
baseline
arpls.h
Generated by
1.16.1