exa.core.util.model_functions.get_estimated_frequencies

exa.core.util.model_functions.get_estimated_frequencies#

get_estimated_frequencies(x, y)#

Estimates characteristic frequency in a given data set.

This method uses fast Fourier transform (FFT) to extract the dominant frequency terms. Note that this method assumes equally based x-data in order to give reliable estimate in frequency.

Parameters:
  • x (ndarray) – independent variable, typically time.

  • y (ndarray) – dependent variable, typically voltage signal.

Returns:

frequency components sorted according to their Fourier weights in the data.

Return type:

ndarray