I am trying to test the np.fft.ifft on a sinus cardinal function, which its Fourier transform is the \'boxcar\' function (equal to 1 for |x|<1 and zero elsewhere).