Scripts and figures that included in the paper
- Figure folder contains the final figures that used in the paper
- annotations folder contains the manually marked sleep spindles, and also k-complexes and sleep stages
- eegPinelineDesign.py (I know, I can't spell) is the script contains all the functions I have ever used during this project
- Filter_based_and_thresholding.py is the main function of the model
- threshold_optimization.py is the script you can use to optimize the lower and higher thresholds for one dataset
- In the paper, we used permutation test to compare classification results pair-wise. Thus, we publish the code that is used for the test.