obspy.signal.cpxtrace.instantaneous_bandwidth

instantaneous_bandwidth(data, fs, fk)[source]

Instantaneous bandwidth of a signal.

Computes the instantaneous bandwidth of the given data which can be windowed or not. The instantaneous bandwidth is determined by the time derivative of the envelope normalized by the envelope of the input data.

Parameters
  • data (ndarray) – Data to determine instantaneous bandwidth of.

  • fs – Sampling frequency.

  • fk – Filter coefficients for computing time derivative.

Returns

sigma[, dsigma] - Instantaneous bandwidth of input data, Time derivative of instantaneous bandwidth (windowed only).