Swap arrays (used with fft)
Y = sip_fftshift(X)
sip_fftshift(X) swaps the left and right halves of X.
sip_fftshift is a substitute for mtlb_fftshift, a Scilab function which is in FRACLAB contribution. We provide it here, since its necessary for many image processing tasks.
http://siptoolbox.sourceforge.net