lkorczowski / Tinnitus-n-Sleep

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

Compute results and _resmed files #113

Open lkorczowski opened 3 years ago

lkorczowski commented 3 years ago

I found an issue with the following

https://github.com/lkorczowski/Tinnitus-n-Sleep/blob/089cf3157db7a92dbe9ce62ba56821442af347ed/compute_results.py#L330-L353

which is related to other hardcoded piece of code here https://github.com/lkorczowski/Tinnitus-n-Sleep/blob/089cf3157db7a92dbe9ce62ba56821442af347ed/compute_results.py#L118-L130

Expected behaviour:

Two channels mema should have 3 reports

Real behavior

Two channels resmed have 2 reports results_MEMA[file] results_MEMA[file + "_left"]

related issue

solution