Skip to content

Commit

Permalink
Update tutorials/preprocessing/20_rejecting_bad_data.py
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Larson <[email protected]>
  • Loading branch information
withmywoessner and larsoner authored Dec 1, 2023
1 parent 3f5fd84 commit a74ccf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/preprocessing/20_rejecting_bad_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@
tmin=0,
tmax=1,
baseline=None,
reject=dict(eeg=lambda x: True if (np.max(x, axis=1) > 1e-2).any() else False),
reject=dict(eeg=lambda x: (np.max(x, axis=1) > 1e-2).any()),
preload=True,
)
epochs.plot(scalings=dict(eeg=50e-5))
Expand Down

0 comments on commit a74ccf6

Please sign in to comment.