From 5b3fa3077041b98d9dd312063cedd6ad04ff4fb4 Mon Sep 17 00:00:00 2001 From: Stefan Repplinger Date: Fri, 6 Apr 2018 11:07:44 +0200 Subject: [PATCH] High-pass EOG Changing the l_freq to None, high-pass filtering the EOG channel was disabled too. --- scripts/processing/04-python_filtering.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/processing/04-python_filtering.py b/scripts/processing/04-python_filtering.py index 1bd0e611..b04363db 100644 --- a/scripts/processing/04-python_filtering.py +++ b/scripts/processing/04-python_filtering.py @@ -54,7 +54,7 @@ def run_filter(subject_id): # High-pass EOG to get reasonable thresholds in autoreject picks_eog = pick_types(raw.info, meg=False, eog=True) raw.filter( - l_freq, None, picks=picks_eog, l_trans_bandwidth='auto', + 1., None, picks=picks_eog, l_trans_bandwidth='auto', filter_length='auto', phase='zero', fir_window='hann', fir_design='firwin') raw_out = raw_fname_out % (run, l_freq)