pwtools.num.Spline.get_min

Spline.get_min(x0=None, xab=None, **kwds)

Return x where y(x) = min(y) by calculating the root of the fit’s 1st derivative (by calling self(x, der=1)).

Parameters:
  • xab (x0 or) – see _findroot()

  • **kwds – passed to _findroot()

Returns:

xx – min(y) = y(xx)

Return type:

scalar