29 const QList<double> &y_values);
37 void setup(
const QList<double> &x_values,
const QList<double> &y_values);
41 const QList<double> &
getKnots()
const;
45 double derivatives(
const double x_value,
unsigned order)
const;
57 double const mz_at_left,
58 double const mz_at_right,
59 double ¢er_peak_mz,
60 double ¢er_peak_intensity,
61 double const threshold = 1e-6);
QList< double > m_quadraticCoeffs
void setup(const QList< double > &x_values, const QList< double > &y_values)
CubicSplineModel & operator=(const CubicSplineModel &other)
QList< double > m_linearCoeffs
double derivatives(const double x_value, unsigned order) const
double derivative(const double x_value) const
const QList< double > & getKnots() const
QList< double > m_cubicCoeffs
QList< double > m_constCoeffs
CubicSplineModel * clone(const CubicSplineModel &other)
double evalSplineAt(double x_value) const
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
void spline_bisection(const CubicSplineModel &spline_model, double const mz_at_left, double const mz_at_right, double ¢er_peak_mz, double ¢er_peak_intensity, double const threshold)