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
119 stars 128 forks source link

SleepScoreMaster update: use Power Spectrum Slope #262

Closed dlevenstein closed 5 years ago

dlevenstein commented 5 years ago

This is an update to the SleepScoreMaster algorithm for NREM detection - it adds the ability to use the slope of the (log-log) power spectrum (i.e. the 1/f exponent). So far I've found this to be more reliable in non-frontal cortex recordings and with noise, so I made it default (the previous weight method is still also available with SWWeights), but am hoping some people will try it out on their data as well.

raswanson commented 5 years ago

Nice! Trying it out....today! Will let you know how it goes.

dlevenstein commented 5 years ago

This addresses the remainder of #227

raswanson commented 5 years ago

@dlevenstein are you using this on headfixed barrel cortex data?

dlevenstein commented 5 years ago

Nope - have only used on home cage data

brendonw1 commented 5 years ago

FOOOF

On Fri, Oct 26, 2018 at 12:11 PM Dan Levenstein notifications@github.com wrote:

Nope - have only used on home cage data

— You are receiving this because your review was requested. Reply to this email directly, view it on GitHub https://github.com/buzsakilab/buzcode/pull/262#issuecomment-433461135, or mute the thread https://github.com/notifications/unsubscribe-auth/ADXrTRh1jk-mKN3gIDbn9SWrAOu_ao4zks5uozQ5gaJpZM4X8hym .

brendonw1 commented 5 years ago

Shouldn't we merge this into /dev rather than /master?

dlevenstein commented 5 years ago

Yes. Oops. I'll reopen the PR to dev

On Oct 26, 2018, at 9:40 PM, Brendon Watson notifications@github.com wrote:

Shouldn't we merge this into /dev rather than /master?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.