Software Open Access

raphaelvallat/yasa: v0.4.1

Raphael Vallat; Nikola Jajcay

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 (82.8 MB)
Name Size
raphaelvallat/yasa-v0.4.1.zip
md5:b59f13d3e2942e592c6b6dfc6811b49f
82.8 MB Download
635
98
views
downloads
All versions This version
Views 63530
Downloads 980
Data volume 5.7 GB0 Bytes
Unique views 46928
Unique downloads 590

Share

Cite as