- sherpa.utils.guess_radius(x0lo, x1lo, x0hi=None, x1hi=None)
Guess the radius parameter of a 2D model.
x0lo (array_like) – The independent axes of the grid, in 1D form.
x1lo (array_like) – The independent axes of the grid, in 1D form.
x0hi (array_like or None, optional) – The upper bounds of each pixel.
x1hi (array_like or None, optional) – The upper bounds of each pixel.
ans – The keys are ‘val’, ‘min’, and ‘max’, which give the radius and its range, in units of the input grid (
- Return type
x0lois used, and it is assumed to be arranged so that this axis varies fastest (that is
x0lo > x0lo) as well as representing square pixels of the same size.
The scaling factor for the minimum and maximum values is taken from the module’s