fitting.quartic

fitting.quartic(x, a, b, c, d, e)

Fourth order polynomial.

Parameters:
  • x (array) – x-values.
  • a (float) – Offset.
  • b (float) – Linear term.
  • c (float) – Quadratic term.
  • d (float) – Cubic term.
  • e (float) – Quartic term.
Returns:

f(x) = e x^4 + d x^3 + c x^2 + b x + a.