lkorczowski / Tinnitus-n-Sleep

Detecting events in sleeping tinnitus patients
MIT License
1 stars 0 forks source link

Episode encoding mistake #97

Open RobinGuillard opened 4 years ago

RobinGuillard commented 4 years ago

The labelling of bruxism events in the result of the burst_to_episode function seems to have a problem. Maybe the issue stems one step before in the classif_to_burst function. Maybe it is in the way we delt with the self.code attibute in the episode class (use binary operations instead of addditions?). We should have 3 different encodings : one for tonic, phasic and mixed. The proposed encoding is 1=tonic, 10 = phasic and 11=mixed. All in all, we have currently labels of more than 3 types, as we can see in the display of the result of burst_to_episode function image