I realized that this can already be done without any modifications to the source code. I've now added a section in the Jupyter Notebook on slow-waves detection to illustrate how to use z-score or percentile threshold to detect slow-waves. See 1527dedb049d63b10dc15ebf7fffa67d312038df
I realized that this can already be done without any modifications to the source code. I've now added a section in the Jupyter Notebook on slow-waves detection to illustrate how to use z-score or percentile threshold to detect slow-waves. See 1527dedb049d63b10dc15ebf7fffa67d312038df