poly6¶
- mdhelper.fit.polynomial.poly6(x: ndarray, p1: float, p2: float, p3: float, p4: float, p5: float, p6: float, p7: float) ndarray [source]¶
Convenience function for the
poly6
model from MATLAB:- Parameters:
- xnumpy.ndarray
One-dimensional array containing
-values.- p1float
Coefficient
for the term.- p2float
Coefficient
for the term.- p3float
Coefficient
for the term.- p4float
Coefficient
for the term.- p5float
Coefficient
for the term.- p6float
Coefficient
for the term.- p7float
Constant term
.
- Returns:
- fitnumpy.ndarray
Fitted
-values.