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:
  • array (array_like) – The array to be rebinned

  • scale_x (int) – The pixel ratio on the x axis

  • scale_y (int) – The pixel ratio on the y axis

Return type:

array_like