openep / openep-py

Electrophysiology data analysis with Python.
GNU General Public License v3.0
11 stars 7 forks source link

Handle multiple ecg channels #179

Closed p-j-smith closed 2 years ago

p-j-smith commented 2 years ago

Currently, it is assumed datasets have a single ecg channel. However, they may be up to 12. We should handle this when loading an openep dataset.

We must also ensure that ecgNames always exists. This will be the case if there are multiple channels. If there is a single channel it should be given a default name, e.g 'ECG'.

And we need to have a gain value for each ecg signal in each channel (i.e. the gain should be of shape n_mapping_points x n_channels)