raphaelvallat / yasa

YASA (Yet Another Spindle Algorithm): a Python package to analyze polysomnographic sleep recordings.
https://raphaelvallat.com/yasa/
BSD 3-Clause "New" or "Revised" License
417 stars 113 forks source link

QuickFix: tensorpac function call in sw_detect #26

Closed jajcayn closed 3 years ago

jajcayn commented 3 years ago

tensorpac package changes their API [?] and their tpm.ndpac is now tpm.norm_direct_pac

raphaelvallat commented 3 years ago

Hi @jajcayn!

Thanks for opening the issue! I've actually already fixed that on the develop/ branch. I'm currently making some important changes to YASA and I'm hoping I will be able to release a new stable version within the next couple of weeks. In the meantime, I'd suggest that you switch to the develop/ branch to run the slow-waves detection.

Thanks! Raphael

jajcayn commented 3 years ago

Hi!

Sorry, my bad, I should've checked your branches:) Thanks for letting me know! In the meantime, I run locally installed copy with this fix, so I am fine:)

Thanks, N.