- sherpa.utils.guess_bounds(x, xhi=True)[source] [edit on github]
Guess the bounds of a parameter from the independent axis.
x (array_like) – The axis values.
xhi (bool, optional) – When
True, the return value is two dictionaries, with values set to 1/3 and 2/3 along the axis, otherwise a single dictionary, with a value set to the mid-point is returned.
ans – When
xhiis True then two dictionaries are returned, otherwise one. The keys are ‘val’, ‘min’, and ‘max’.
- Return type: