Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extraction of NREM ripples in bz_findRipple #408

Open
Baiguo0016 opened this issue Mar 22, 2021 · 1 comment
Open

Extraction of NREM ripples in bz_findRipple #408

Baiguo0016 opened this issue Mar 22, 2021 · 1 comment

Comments

@Baiguo0016
Copy link

Hi, developer, when I was doing SWR detection by bz_findRipple.m I found that there is no extraction of the NREM state from the whole signal and instead the detection is run on the whole signal regardless of sleep state. Is this correct? Should one detect ripples on the whole signal and then take only those from the NREM states? Or should one first extract NREM bouts and run the detection on the NREM bouts?
I notice there is a .mat file in your example which provided the notation of states which animals are in. I also see in the database that ripples are saved as ALL and as NREM. May I ask what is your script which extracts sleep stages from the recording and groups ripples into NREM only? Thanks in advance!

@brendonw1
Copy link
Collaborator

Thanks for trying it out! To detect states, including NREM, you can run SleepScoreMaster.m. After that is complete, you can visualize and manually edit thresholds (press a key) and specific epochs by running TheStateEditor.m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants