Releases: braindatalab/PyBispectra
Releases · braindatalab/PyBispectra
PyBispectra v1.3.0
Enhancements
- Added support for computing time-resolved bispectral features for the
PAC,WaveShape,General, andThreenormclasses. - Added
timesparameter to thecompute()methods of thePAC,PPC,AAC,WaveShape,General, andThreenormclasses to specify time windows for computing time-resolved features over. - Added support for storing and plotting time-resolved results in the
ResultsCFC,ResultsWaveShape, andResultsGeneralclasses. - Added
normparameter toWaveShape.compute()to control normalisation of waveshape results. - Added
outputparameter tocompute_tfr()to allow complex coefficients to be returned.
Bug Fixes
- Fixed error where the coupling with
PPCwas not being computed correctly. - Fixed error where
ResultsGeneral.get_results(form="compact")returned complex-valued data as real-valued.
API
- Changed the
dataparameter ofPPCto require time-frequency representations instead of non-time-resolved Fourier coefficients. - Increased stringency of data types (real vs. complex) for
datapassed to thecompute_fft()andcompute_tfr()functions, and thePAC,PPC,AAC,WaveShape,TDE,Bispectrum, andThreenormclasses.
Documentation
- Added a new example for computing time-resolved bispectral features.
PyBispectra v1.2.4
Bug Fixes
- Fixed error where univariate normalisation of antisymmetrised PAC was not being applied correctly.
PyBispectra v1.2.3
Bug Fixes
- Fixed error where NumPy integers and floats were not being recognised as valid types.
PyBispectra v1.2.2
Bug Fixes
- Fixed error where
indicesinResultsCFC,ResultsTDE, andResultsGeneralclasses were not being mapped to results correctly.
Documentation
- Improved the warning about invalid frequency combinations returning
np.nanvalues.
PyBispectra v1.2.1
Dependencies
- Added
scikit-learnas a dependency for compatibility withmnev1.9.
PyBispectra v1.2.0
Enhancements
- Added general
BispectrumandThreenormclasses for computing with flexible kmn channel combinations.
Bug Fixes
- Fixed error where the number of subplots exceeding the number of nodes would cause plotting to fail.
- Fixed error where bandpass filter settings for the SSD method in
SpatioSpectralFilterwere not being applied correctly.
API
- Changed the default value of
min_ratioinSpatioSpectralFilter.get_transformed_data()from1.0to-inf. - Added the option to control whether a copy is returned from the
get_results()method of allResults...classes and fromSpatioSpectralFilter.get_transformed_data()(default behaviour returns a copy, like in previous versions). - Added new
fit_ssd(),fit_hpmax(), andtransform()methods to theSpatioSpectralFilterclass to bring it more in line withscikit-learnfit-transform classes.
Documentation
- Added a new example for computing the bispectrum and threenorm using the general classes.
PyBispectra v1.1.0
Enhancements
- Reduced the memory requirement of bispectrum computations.
- Added support for computing & storing time delays of multiple frequency bands simultaneously.
- Added a new option for controlling the colour bar of waveshape plots.
- Added an option for controlling the precision of computations.
Bug Fixes
- Fixed incorrect channel indexing for time delay antisymmetrisation.
API
- Changed how operations on specific frequency/time ranges are specified to be more flexible.
Documentation
- Added a new example for computing time delays on specific frequency bands.