We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 397c09d commit ec5e24fCopy full SHA for ec5e24f
wfdb/io/convert/edf.py
@@ -399,7 +399,7 @@ def read_edf(
399
}
400
401
sig_data = np.empty((sig_len, n_sig))
402
- temp_sig_data = np.fromfile(edf_file, dtype=np.int16).astype("int64")
+ temp_sig_data = np.fromfile(edf_file, dtype=np.int16)
403
temp_sig_data = temp_sig_data.reshape((-1, sum(samps_per_block)))
404
temp_all_sigs = np.hsplit(temp_sig_data, np.cumsum(samps_per_block)[:-1])
405
0 commit comments