Closed danibene closed 3 months ago
This PR aims to improve consistency in the naming of the GUDB database for R-Peak annotations and raw ECG data. I think a difference in naming could be problematic when selecting subsets of data for benchmarking:
https://github.com/neuropsychology/NeuroKit/blob/d42a2306a68efb5f59e5a86b4fac95dc5ff5359b/neurokit2/benchmark/benchmark_ecg.py#L83-L85
I changed download_gudb.py so that the database name for R-peaks uses an underscore instead of parentheses: https://github.com/neuropsychology/NeuroKit/blob/d42a2306a68efb5f59e5a86b4fac95dc5ff5359b/data/gudb/download_gudb.py#L44
download_gudb.py
Such that it matches the corresponding name for raw ECG data: https://github.com/neuropsychology/NeuroKit/blob/d42a2306a68efb5f59e5a86b4fac95dc5ff5359b/data/gudb/download_gudb.py#L38
Description
This PR aims to improve consistency in the naming of the GUDB database for R-Peak annotations and raw ECG data. I think a difference in naming could be problematic when selecting subsets of data for benchmarking:
https://github.com/neuropsychology/NeuroKit/blob/d42a2306a68efb5f59e5a86b4fac95dc5ff5359b/neurokit2/benchmark/benchmark_ecg.py#L83-L85
Proposed Changes
I changed
download_gudb.py
so that the database name for R-peaks uses an underscore instead of parentheses: https://github.com/neuropsychology/NeuroKit/blob/d42a2306a68efb5f59e5a86b4fac95dc5ff5359b/data/gudb/download_gudb.py#L44Such that it matches the corresponding name for raw ECG data: https://github.com/neuropsychology/NeuroKit/blob/d42a2306a68efb5f59e5a86b4fac95dc5ff5359b/data/gudb/download_gudb.py#L38
Checklist