diff --git a/wfdb/io/convert/edf.py b/wfdb/io/convert/edf.py index 27bd566..32a3b19 100644 --- a/wfdb/io/convert/edf.py +++ b/wfdb/io/convert/edf.py @@ -411,9 +411,7 @@ def read_edf( else: temp_sig_data = temp_all_sigs[i].flatten() if samps_per_frame[i] == 1: - sig_data[:, i] = ( - temp_sig_data - baseline[i] - ) / adc_gain_all[i] + sig_data[:, i] = (temp_sig_data - baseline[i]) / adc_gain_all[i] else: for j in range(sig_len): start_ind = j * samps_per_frame[i]