Find local minimum of a 2d distribution
find_local_min_2d(dist, localmin, r)
An density
distribution object.
Starting value of finding local minimum.
Searching radius.
A list with two elements: U
, the potential value of the local minimum, and location
, the position of the local minimum.