From b9dae2ac203de4dd884100638ce3f181c494b723 Mon Sep 17 00:00:00 2001 From: rcmdnk Date: Thu, 28 Dec 2023 17:27:47 +0900 Subject: [PATCH] return np.array by _parse_prefilter_string --- mne/io/edf/edf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mne/io/edf/edf.py b/mne/io/edf/edf.py index 68a661242dc..6284a5f7fd5 100644 --- a/mne/io/edf/edf.py +++ b/mne/io/edf/edf.py @@ -768,8 +768,8 @@ def _extract_filter_value(s, prefix, suffix): def _parse_prefilter_string(prefiltering): """Parse prefilter string from EDF+ and BDF headers.""" - highpass = [_extract_filter_value(s, "HP:", "Hz") for s in prefiltering] - lowpass = [_extract_filter_value(s, "LP:", "Hz") for s in prefiltering] + highpass = np.array([_extract_filter_value(s, "HP:", "Hz") for s in prefiltering]) + lowpass = np.array([_extract_filter_value(s, "LP:", "Hz") for s in prefiltering]) return highpass, lowpass