Skip to content

Commit

Permalink
return np.array by _parse_prefilter_string
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmdnk committed Dec 28, 2023
1 parent 9fe75a6 commit b9dae2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mne/io/edf/edf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit b9dae2a

Please sign in to comment.