Given a time-and-space-dependent signal like the following:

$$F(z,t) = \dfrac{a_0}{2} + \sum_{n = 1}^{\infty} [a_n \cos(k_n z + w_n t + \phi_n)].$$

How do I extract both the *temporal* and *spatial* frequency components of this signal, i.e., $(a_n, k_n, w_n, \phi_n)$?

I am not sure what sort of Fourier transform could apply in this case. If someone can also suggest a python package that helps to do this task, that will be appreciated.