Dependencies: To-add.
Repository for CBD project.
Data preprocessing:
-
AdrianDownsampleFiles.m : Downsamples channels to 600 Hz.
-
Downsampling_script_2022.m
Data processing:
- dataprocessing_eventtype_rat.m
- dataprocessing_concat_eventtype.m
Sleep stages analysis:
-
PCA_sleep_scorer.m : Uses raw data as input. Performs downsampling itself. We didn't use the silhouette analysis that Tuk suggested. It doesn't remove the first 15 minutes of the signal. Hence 'states' files will need their first 15 minutes to be discarded in following scripts.
-
SleepStagesAnalysis2022.m
Event detection:
-
Swat_Delta_Script.m
-
FindDeltaWaves.m