Open
Description
Hi,
I want to convert the ECG dataset, code 15% into hea
format:
wfdb.wrsamp(record_name=filename, fs=fs,
units=['mV', 'mV', 'mV', 'mV', 'mV', 'mV', 'mV', 'mV', 'mV', 'mV', 'mV', 'mV'],
sig_name=['I', 'II', 'III', 'aVR', 'aVL', 'aVF', 'V1', 'V2', 'V3', 'V4', 'V5', 'V6'], p_signal=data,
write_dir=write_dir)
But, the dtype
of data ndarray: {4096, 12}
in code 15% is float32 and raise IndexError:
IndexError: Channel 1 contain values outside allowed range [-2147483648, 2147483647] for fmt 32
.
What should I do for the error?
Metadata
Metadata
Assignees
Labels
No labels