Skip to content

Commit

Permalink
FIX: Hotfix for import error
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Sep 5, 2019
1 parent 25701d8 commit 63e9ad2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mne/viz/raw.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

from ..annotations import _annotations_starts_stops
from ..filter import create_filter, _overlap_add_filter
from ..fixes import get_sosfiltfilt
from ..io.pick import (pick_types, _pick_data_channels, pick_info,
_PICK_TYPES_KEYS, pick_channels)
from ..utils import verbose, _ensure_int, _validate_type, _check_option
Expand Down Expand Up @@ -68,7 +67,7 @@ def _update_raw_data(params):
data[data_picks, start_:stop_] = _overlap_add_filter(
data[data_picks, start_:stop_], params['ba'], copy=False)
else: # IIR
sosfiltfilt = get_sosfiltfilt()
from scipy.signal import sosfiltfilt
data[data_picks, start_:stop_] = sosfiltfilt(
params['ba']['sos'], data[data_picks, start_:stop_],
axis=1, padlen=0)
Expand Down

0 comments on commit 63e9ad2

Please sign in to comment.