poly7¶
- mdhelper.fit.polynomial.poly7(x: ndarray, p1: float, p2: float, p3: float, p4: float, p5: float, p6: float, p7: float, p8: float) ndarray [source]¶
Convenience function for the
poly7
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
Coefficient
for the term.- p8float
Constant term
.
- Returns:
- fitnumpy.ndarray
Fitted
-values.