buzsakilab / buzcode

Code for internal lab sharing - polishing has started but is by no means complete
http://www.buzsakilab.com/
GNU General Public License v3.0
118 stars 128 forks source link

DetectSlowWaves Bug fix... #301

Closed dlevenstein closed 5 years ago

dlevenstein commented 5 years ago

Was merging adjacent slow wave separated by less than minwindur (minimum UP/DOWN duration, default 40ms), rather than joinwindur (default 10ms). Should have little effect on NREM, but was messing up quiet wake UP/DOWN detection