How to divide spectrums?

also in that file there are useful methods like fftshift. Me 2, i dont understand why they are internal