def ifftshift(a, axes=None): '''Swaps back half-spaces End up with zero frequency component is at origin axes -- list of axes to swap and if None then all axes swapped ''' return _fft.ifftshift(a, axes)