fitting.parabola2

fitting.parabola2(x, y0, x0, a)

Another version of the parabola using the vertex (x0, y0).

Parameters:
  • x (array) – x-values.
  • y0 (float) – y-coordinate of the vertex.
  • x0 (float) – x-coordinate of the vertex.
  • a (float) – curvature.
Returns:

f(x) = a (x - x_0)^2 + y_0.