magnitude Fourier transform Piecewise[{{1, |x|<=.5},{0,|x|>.5}}]