get_amplitude_position

sherpa.utils.guess.get_amplitude_position(arr: ndarray, mean: bool = False) tuple[float, float, float, Any][source] [edit on github]

Guess model amplitude and position of array returns (xval, xmin, xmax, xpos)