orbit.utils.fitting.PolynomialFit#
- class orbit.utils.fitting.PolynomialFit(order)[source]#
-
Methods
__init__(order)The calss to fit Function or SplineCH with a polynomial.
fitFunction(function)Fit the Function instance
fitSpline(spline)Fit the SplineCH instance
getCoefficients()Returns the list of coefficients of the polynomial
getCoefficientsAndErr()It returns the list of coefficients and their errors
getPolynomial()It returns an unbounded polynomial.