The subroutine _shift_fft 's usage of the FFT functions requires the input arrays to be in the same endianness as the system it is running on. Most systems are little-endian. Encountered when trying to FFT-shift big-endian CRIRES arrays on a little-endian system.