pybic.SpecToCrossBispec

pybic.SpecToCrossBispec(spec, v=[0, 0, 0], lilguy=1e-06)[source]

Estimate cross-bispectrum/-bicoherence spectrum from spectrogram(s).

Parameters:
  • spec (ndarray) – Input spectrogram.

  • v (list of int) – List of time-series’ indices to analyze.

  • lilguy (float) – Small value to avoid 0/0 errors.

Returns:

b2,B = SpecToCrossBispec(...)

  • b2 (ndarray) - Cross-bicoherence spectrum.

  • B (ndarray) - Cross-bispectrum.

Return type:

list