rebinreform

tayph.rebinreform(a, n)[source] [edit on github]

This works like the rebin(reform()) trick in IDL, where you use fast array manipulation operations to transform a 1D array into a 2D stack of itself, to be able to do operations on another 2D array by multiplication/addition/division without having to loop through the second dimension of said array.

This is likely depricated and may not even be used.