uf3.regression.least_squares.find_pair_potential_well

find_pair_potential_well(coefficients, rounding_factor)[source]

Identify coefficient index corresponding to possible potential well. Intermediate function for postprocess_coefficients_2b().

Parameters
  • coefficients – vector of two-body coefficients.

  • rounding_factor – decimal for rounding in extrema search.

Returns

approximate location of potential well in coefficients

Return type

well_idx