Skip to content

Commit 180c69f

Browse files
committed
remove dead code
1 parent 48b7349 commit 180c69f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pyprep/prep_pipeline.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import mne
77
from mne.utils import check_random_state
88

9-
from pyprep.find_noisy_channels import NoisyChannels
109
from pyprep.reference import Reference
1110
from pyprep.removeTrend import removeTrend
1211
from pyprep.utils import _set_diff, _union # noqa: F401
@@ -184,12 +183,6 @@ def raw(self):
184183

185184
def fit(self):
186185
"""Run the whole PREP pipeline."""
187-
noisy_detector = NoisyChannels(self.raw_eeg, random_state=self.random_state)
188-
noisy_detector.find_bad_by_nan_flat()
189-
# unusable_channels = _union(
190-
# noisy_detector.bad_by_nan, noisy_detector.bad_by_flat
191-
# )
192-
# reference_channels = _set_diff(self.prep_params["ref_chs"], unusable_channels)
193186
# Step 1: 1Hz high pass filtering
194187
if len(self.prep_params["line_freqs"]) != 0:
195188
self.EEG_new = removeTrend(

0 commit comments

Comments
 (0)