From 0269bf7614c712480f7e59da753a276ba5720351 Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Tue, 26 Nov 2024 13:08:42 +0100 Subject: [PATCH] Fix style --- wfdb/io/convert/edf.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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]