-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Welcome to the sleepScoringIEEG wiki!
Start with generating a hypnogram for all available channels - using plotHypnogram_perChannel() (create_sleepHypnogram_per_pt() is my wrapper function for that purpose). See example at - https://ucdavis.box.com/s/2pjxw2bpywju5m58nm8rgmnn3jj0k40s
Then - select the best channels to perform sleep-scoring with. The best candidates would be frontal, cingulate, parietal (not MTL) as medial as possible. Look for a contact with prominent spindle power.
sleepScoring_iEEG_wrapper uses evluateDelta() to perform sleep scoring on the selected channels and produces figures that can be used to judge how well it performed. See example at - https://ucdavis.box.com/s/h3ofur6y17wd98yj9zkl7rjlerr18ofh
Next - use manualValidationSleepScoring() to fine tune the scoring - that is, if the automatic scoring missed epochs with prominent spindle power because the percentile allowed for NREM sleep is too low, add them in. Finally - this code will generate a figure with the power statistics of NREM/REM sleep based on this channel. See example at - https://ucdavis.box.com/s/h3ofur6y17wd98yj9zkl7rjlerr18ofh