local_minimum.__init__(start, stop, precision=1, smallerf=<function local_minimum.<lambda>>, suppress_bounds_warning=False, log_level=5)[source]#

Create a fresh local minimum search context.

  • start – starting point

  • stop – end point (exclusive)

  • precision – only consider every precision-th value in the main loop

  • smallerf – a function to decide if lhs is smaller than rhs.

  • suppress_bounds_warning – do not warn if a boundary is picked as optimal