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
19namespace sablib {
20
36
53SABLIB_EXPORT const BaselineResult
54BaselineBackcor(
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__
BackcorFunc
Cost function types for the Backcor algorithm.
Definition backcor.h:28
@ AHuber
Definition baseline.h:26
@ Huber
Definition baseline.h:25
@ ATQuad
Definition baseline.h:28
@ Indec
Definition baseline.h:29
@ TQuad
Definition baseline.h:27
@ AIndec
Definition baseline.h:30
Common definition of return value for baseline estimation functions.