obspy.signal.polarization.instantaneous_frequency

instantaneous_frequency(data, sampling_rate)[source]

Simple function to estimate the instantaneous frequency based on the derivative of the data and the analytical (hilbert) data.

Parameters:
  • data (numpy.ndarray) – The data array.

  • sampling_rate (float) – The sampling rate in Hz.