Introduction - If you have any usage issues, please Google them yourself
Here, for convenience, the vector in 2D is represented by a complex number: the real
part represents the x-component and the imaginary part represents the y-component. How to get the
Fourier transform is the key of this program. Here I used the analytical form for the circular cylinder
and used the shift property to get the Fourier transform for more complicated system consisting of
finite number of individual atoms.