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

InIntervals bug fix #294

Closed dlevenstein closed 5 years ago

dlevenstein commented 5 years ago

If unsorted, InIntervals was skipping intervals that were before previous intervals (i.e. only used intervals in order and skipped any that were out of order.)

Opening and closing PR so those effected can re-run any relevant analyses.

Oh, also I added a function for tagging channels in the SessionInfo file.... bz_tagChannel try it out!