I have a question regarding the mne.Epochs()
method. I have noticed that epochs are dropped only when preload=True
.
epochs = mne.Epochs(raw_highpass, events, event_id, tmin, tmax, metadata=regressorsPd, baseline=(-.1, 0), preload=False, reject=None, reject_by_annotation=False)
Adding metadata with 6 columns
Replacing existing metadata with 6 columns
67 matching events found
Applying baseline correction (mode: mean)
0 projection items activated
epochsPreload = mne.Epochs(raw_highpass, events, event_id, tmin, tmax, metadata=regressorsPd, baseline=(-.1, 0), preload=True, reject=None, reject_by_annotation=False)
Adding metadata with 6 columns
Replacing existing metadata with 6 columns
67 matching events found
Applying baseline correction (mode: mean)
0 projection items activated
Loading data for 67 events and 451 original time points ...
45 bad epochs dropped
The 45 bad epochs are dropped because âtoo shortâ as indicated by the log:
epochsPreload.drop_log
Out[86]:
((),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',),
('TOO_SHORT',))
I donât understand two things.
- What is the reason of this? The helper says that epochs are âtoo shortâ if they do not âcontain enough data names of channels that exceeded the amplitude thresholdâ. I donât understand what this means, especially since I have set no amplitude threshold for epoching.
- Why are âtoo shortâ epochs being dropped only when they are preloaded?