[SciPy-user] in-place data permutation

Brian Hawthorne brian.lee.hawthorne at gmail.com
Fri Feb 24 18:08:20 CST 2006

I'm looking for an efficient implementation of permuting the positions of
data in
an array which doesn't require copying the array.  Specifically, I am
shifting an
array by half its length along the 0th dimension, in order to put "textbook"
frequency data into the packed format expected by inverse_fft.  I'm
this is not already implemented in numpy... seems like it would be a common
need.  Am I missing something obvious?

Brian Hawthorne
UC Berkeley Brain Imaging Center
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.scipy.net/pipermail/scipy-user/attachments/20060224/28d1114c/attachment.htm

More information about the SciPy-user mailing list