fitting.power_const

fitting.power_const(x, y0, A, a)

Power law with constant offset.

Parameters:
  • x (array) – x-values.
  • y0 (float) – Offset.
  • A (float) – Amplitude.
  • a (float) – Exponent.
Returns:

f(x) = A x^a + y_0.