I have a dataset giving the evolution of a wave (which has a single wavenumber $k$) over time. I have the data as a function of $y$ at a bunch of evenly spaced timestamps $t$. I want to calculate the angular frequency of this wave.
Originally, I was doing this by measuring how far a particular peak in the dataset moved over time and then using this to calculate the phase velocity. I then got the angular frequency using $\omega = v_{p}k$. However, I think there's probably a better way of doing this using discrete Fourier transforms.
What would be a better way of extracting a frequency from my dataset?