Skip to content

PyBispectra v1.3.0

Latest

Choose a tag to compare

@tsbinns tsbinns released this 12 Dec 19:06
· 10 commits to main since this release
df5f8d7

Enhancements

  • Added support for computing time-resolved bispectral features for the PAC, WaveShape, General, and Threenorm classes.
  • Added times parameter to the compute() methods of the PAC, PPC, AAC, WaveShape, General, and Threenorm classes to specify time windows for computing time-resolved features over.
  • Added support for storing and plotting time-resolved results in the ResultsCFC, ResultsWaveShape, and ResultsGeneral classes.
  • Added norm parameter to WaveShape.compute() to control normalisation of waveshape results.
  • Added output parameter to compute_tfr() to allow complex coefficients to be returned.

Bug Fixes

  • Fixed error where the coupling with PPC was not being computed correctly.
  • Fixed error where ResultsGeneral.get_results(form="compact") returned complex-valued data as real-valued.

API

  • Changed the data parameter of PPC to require time-frequency representations instead of non-time-resolved Fourier coefficients.
  • Increased stringency of data types (real vs. complex) for data passed to the compute_fft() and compute_tfr() functions, and the PAC, PPC, AAC, WaveShape, TDE, Bispectrum, and Threenorm classes.

Documentation

  • Added a new example for computing time-resolved bispectral features.