Open adam2392 opened 3 years ago
Zurich was kind enough to send over the following detector matlab repo:
https://github.com/ZurichNCH/Automatic-High-Frequency-Oscillation-Detector
It seems the morphology detector has quite a bit of hyperparmaeters, and pipelines including a baseline step, so it would be good to sketch this out first.
Hyperparameters list I'm getting:
A big chunk of code seems to be dedicated to "defining" a baseline.
Hi @cleemesser! if you're interested in helping develop this repo out, I managed to refactor RMS/Linelenght detectors into a scikit-learn API and just working on the entire pipeline now.
Thsi isssue is one of the main ones now in my head to get this repo operational. The Morphology detector has some open-access validation data online and it's also available in matlab (just needs Python conversion).
If you're interested in contributing more, perhaps we should setup a call?
Describe the problem
These are detectors that kind of have some open-source matlab code, so we can make an attempt at porting this over into mne-hfo.
Describe your solution
Import over morphologydetector: https://github.com/HFO-detect/HFO-detect-matlab/blob/master/hfo-detect-toolbox/Morphology%20Detector/func_doMorphologyDetector.m
Describe possible alternatives
Both detectors seem to have a very large number of hyperparameters, so it might be difficult to match them perfectly.