get_midpoint
- sherpa.utils.get_midpoint(a)[source] [edit on github]
Estimate the middle of the data.
- Parameters
a (array_like) – The data points.
- Returns
ans – The middle of the data.
- Return type
scalar
See also
Notes
The estimate is based on the range of the data, and not the distribution of the points.