7#ifndef __SABLIB_POLYNOMIAL_H__
8#define __SABLIB_POLYNOMIAL_H__
24std::vector<double>
BaselineLinear(std::vector<double> & y,
const unsigned int index1,
const unsigned int index2);
36 std::vector<double> & y,
const unsigned int polyorder,
const std::vector<unsigned int> & indices
std::vector< double > BaselineLinear(std::vector< double > &y, const unsigned int index1, const unsigned int index2)
Performs baseline estimation with a linear line between two points.
std::vector< double > BaselinePolynomial(std::vector< double > &y, const unsigned int polyorder, const std::vector< unsigned int > &indices)
Performs baseline estimation by fitting a polynomial to specified points.