fftshift

powerbox.dft.fftshift(x, *args, **kwargs)[source]

The same as numpy’s fftshift, except that it preserves units (if Astropy quantities are used)

All extra arguments are passed directly to numpy’s fftshift.