Kstars
curvefit.h
15 // solver as provided the the Gnu Science Library (GSL). See the comments at the start of curvefit.cpp
19 // For compatibility with existing Ekos functionality a Quadratic option using the exising Ekos linear
20 // least squares solver (again provided by GSL) is supported. The Quadratic and Parabola curves are
21 // the same thing mathematically but Parabola uses the non-linear least squares LM solver whilst Quadratic
24 // Users of CurveFitting operate on focuser position and HFR. Within CurveFitting the curve uses the more
55 // fitCurve takes in the vectors with the position, hfr and sigma (standard deviation in HFR) values
58 void fitCurve(const QVector<int> &position, const QVector<double> &hfr, const QVector<double> &sigma,
64 bool findMin(double expected, double minPosition, double maxPosition, double *position, double *value, CurveFit curveFit);
65 // f calculates the value of y (hfr) for a given x (position) using the appropriate curve algorithm
76 QVector<double> polynomial_fit(const double *const data_x, const double *const data_y, const int n, const int order);
77 QVector<double> hyperbola_fit(const QVector<double> data_x, const QVector<double> data_y, const QVector<double> data_sigma,
79 QVector<double> parabola_fit(const QVector<double> data_x, const QVector<double> data_y, const QVector<double> data_sigma,
82 bool minimumQuadratic(double expected, double minPosition, double maxPosition, double *position, double *value);
83 bool minimumHyperbola(double expected, double minPosition, double maxPosition, double *position, double *value);
84 bool minimumParabola(double expected, double minPosition, double maxPosition, double *position, double *value);
89 // Calculation engine for the R-squared which is a measure of how well the curve fits the datapoints
Ekos is an advanced Astrophotography tool for Linux. It is based on a modular extensible framework to...
Definition: align.cpp:70
void push_back(const T &value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Aug 13 2022 04:01:52 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Aug 13 2022 04:01:52 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.