find_integer_vectors¶
-
superfreq.
find_integer_vectors
(freqs, table, max_int=12)[source]¶ Given the fundamental frequencies and table of all frequency components, determine how each frequency component is related to the fundamental frequencies (e.g., determine the integer vector for each frequency such that \(n\cdot \Omega \approx 0.\)). These are the non-zero Fourier modes.
Parameters: freqs : array_like
The fundamental frequencies.
table : structured array
The full table of frequency modes, amplitudes, and phases for all components detected in the FFT.
max_int : int (optional)
The integer vectors considered will go from
-max_int
tomax_int
in each dimension.Returns: nvec :
numpy.ndarray
An array of integer vectors that correspond to the frequency components.