There is a newer version of the record available.

Published February 20, 2022 | Version v0.6.0

raphaelvallat/yasa: v0.6.0

  • 1. UC Berkeley
  • 2. Max Planck Institute for Human Cognitive and Brain Sciences
  • 3. Technische Universität Berlin / Institute of Computer Science, CAS
  • 4. École Normale Supérieure

Description

YASA 0.6.0

This is a MAJOR release with several API-breaking changes, new functions, bugfixes and a new section in the documentation.

Slow oscillations—sigma coupling

IMPORTANT — The default behavior of coupling=True in yasa.sw_detect() has been changed: YASA now uses a ± 1 second window around the negative peak of the slow-waves (2 sec total) to calculate the coupling, instead of a ± 2 sec window. Overall, this tends to increase the ndPAC values because of the higher temporal specificity. To keep a 4-sec window, use coupling_params['time'] = 2.

We've enabled the statistical thresholding in the ndPAC calculation. Practically, this means that events with a weak/unreliable coupling are assigned an ndPAC value of zero. Statistical thresholding can be disabled with coupling_params['p'] = None.

Because of these changes, the coupling values are therefore not comparable with previous versions of YASA. Please make sure to re-run your analyses with the new default parameters.

Events detection Plotting Documentation
  • Added a Quickstart section to illustrate the main functions of YASA. Make sure to check it out!
Others

Files

raphaelvallat/yasa-v0.6.0.zip

Files (117.1 MB)

Name Size
md5:3be2d2d0bb7c9051c8b7e2cd84640791
117.1 MB Preview Download

Additional details

Related works