sablib
Loading...
Searching...
No Matches
backcor.h
Go to the documentation of this file.
1
10
11
#ifndef __SABLIB_BACKCOR_H__
12
#define __SABLIB_BACKCOR_H__
13
14
#include <stdexcept>
15
16
#include "
result_type.h
"
17
#include "sablib_export.h"
18
19
namespace
sablib {
20
27
enum class
BackcorFunc
28
{
29
Huber
,
30
AHuber
,
31
TQuad
,
32
ATQuad
,
33
Indec
,
34
AIndec
35
};
36
53
SABLIB_EXPORT
const
BaselineResult
54
BaselineBackcor(
55
const
std::vector<double> & y,
const
unsigned
int
polyorder,
const
BackcorFunc func = BackcorFunc::ATQuad,
56
const
double
s = 1,
const
double
alpha = 0.99 * 0.5,
const
unsigned
int
loop = 50,
const
double
eps = 1.0e-3
57
);
58
59
};
// namespace sablib
60
61
#endif
// __SABLIB_BACKCOR_H__
sablib::BackcorFunc
BackcorFunc
Cost function types for the Backcor algorithm.
Definition
backcor.h:28
AHuber
@ AHuber
Definition
baseline.h:26
Huber
@ Huber
Definition
baseline.h:25
ATQuad
@ ATQuad
Definition
baseline.h:28
Indec
@ Indec
Definition
baseline.h:29
TQuad
@ TQuad
Definition
baseline.h:27
AIndec
@ AIndec
Definition
baseline.h:30
result_type.h
Common definition of return value for baseline estimation functions.
baseline
backcor.h
Generated by
1.16.1