Skip to content

Commit

Permalink
Update mne/epochs.py
Browse files Browse the repository at this point in the history
Co-authored-by: Dominik Welke <[email protected]>
  • Loading branch information
CarinaFo and dominikwelke authored Nov 17, 2023
1 parent 880d157 commit afed69d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mne/epochs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2066,6 +2066,7 @@ def channel_specific_epoch_rejection(self, outliers: float):
The array used to mask the epochs. True == Keep epochs,
False = reject epochs.
"""
_check_preload(self, "Modifying data of epochs")
# extract data from Epochs object
# get absolut values
abs_data = np.abs(self.get_data()) # (epochs X channels X (frequency) X time)
Expand Down

0 comments on commit afed69d

Please sign in to comment.