I am trying to visualize the time dependence of a free particle given an initial wave-function using Python and I just wanted to know if I could use the in built FFT implementation from NumPy to find the coefficients of the integral
$$ \Psi(x,\,t)=\frac{1}{2\pi}\int_{-\infty}^\infty\phi(k)\exp\left[i\left(kx-\frac{\hbar k^2}{2m}t\right)\right]\,\mathrm{d}k $$
In the textbook I am basing this off of, they solve for $\phi(k)$ by finding the fourier transform analytically given an initial function $\Psi(x, 0)$. Logically, it seems like doing a discrete fourier transform to simulate a fourier transform on an array of values representing $\Psi(x, 0)$ is okay, but I'm wondering if there are some subtleties I might be missing that actually changes the interpretation of my results when using a discrete fourier transform to find $\phi(k)$ instead of a continuous one. More generally, I guess, is other than the fact one is applied to a discrete rather than continuous set of variables, what is the difference between a Discrete Fourier Transform and a Continuous Fourier Transform.