There is a newer version of the record available.

Published March 23, 2021 | Version v0.4.1
Software Open

raphaelvallat/yasa: v0.4.1

  • 1. UC Berkeley
  • 2. Technische Universität Berlin / Institute of Computer Science, CAS

Description

New functions

Added yasa.topoplot(), a wrapper around mne.viz.plot_topomap(). See 15_topoplot.ipynb.

Enhancements

  • The default frequency range for slow-waves in yasa.sw_detect() is now 0.3-1.5 Hz instead of 0.3-2 Hz. Indeed, most slow-waves have a frequency below 1Hz. This may result in slightly different coupling values when coupling=True so make sure to homogenize your slow-waves detection pipeline across all nights in your dataset.
  • yasa.trimbothstd() now handles missing values in input array.
  • yasa.bandpower_from_psd() and yasa.bandpower_from_psd_ndarray() now print a warning if the PSD contains negative values. See issue 29.
  • Upon loading, YASA will now use the outdated package to check and warn the user if a newer stable version is available.
  • YASA now uses the AntroPy package to calculate non-linear features in the automatic sleep staging module. Previously, YASA was using EntroPy, which could not be installed using pip.

Files

raphaelvallat/yasa-v0.4.1.zip

Files (82.8 MB)

Name Size Download all
md5:b59f13d3e2942e592c6b6dfc6811b49f
82.8 MB Preview Download

Additional details

Related works