File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 6
6
import mne
7
7
from mne .utils import check_random_state
8
8
9
- from pyprep .find_noisy_channels import NoisyChannels
10
9
from pyprep .reference import Reference
11
10
from pyprep .removeTrend import removeTrend
12
11
from pyprep .utils import _set_diff , _union # noqa: F401
@@ -184,12 +183,6 @@ def raw(self):
184
183
185
184
def fit (self ):
186
185
"""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)
193
186
# Step 1: 1Hz high pass filtering
194
187
if len (self .prep_params ["line_freqs" ]) != 0 :
195
188
self .EEG_new = removeTrend (
You can’t perform that action at this time.
0 commit comments