Calculates the inverse FFT shift of an array, which undoes the effect of fftshift by moving the zero-frequency component back to the beginning of the array.
constspectrum = Chalkboard.calc.fftshift(Chalkboard.calc.fft([1, 0, -1, 0])); constrestored = Chalkboard.calc.ifftshift(spectrum); // Restores the original frequency ordering
Calculates the inverse FFT shift of an array, which undoes the effect of fftshift by moving the zero-frequency component back to the beginning of the array.