rebin_int

sherpa.models.regrid.rebin_int(array, scale_x, scale_y)[source] [edit on github]

Rebin array by an integer scale on both x and y

Parameters:
arrayarray_like

The array to be rebinned

scale_xint

The pixel ratio on the x axis

scale_yint

The pixel ratio on the y axis

Returns:
array_like