[Numpy-discussion] (offlist) Numpy implementation of IDL & pdl's rebin?

Gary Ruben gruben at bigpond.net.au
Mon Mar 27 04:46:03 CST 2006


Recently a question was asked about whether numpy/scipy had a data rebin 
command similar to IDL's rebin.

IDL's rebin can rebin data to smaller or larger arrays whose dimensions 
are factors or multiples of the original size. I have had a play and 
placed some code which takes care of the reducing case for ndarrays on 
the wiki here:

<http://scipy.org/Cookbook/Rebinning>

Gary R.




More information about the Numpy-discussion mailing list