eelbrain.pipeline.MneExperiment.make_bad_channels¶
-
MneExperiment.
make_bad_channels
(bad_chs=(), redo=False, **kwargs)¶ Write the bad channel definition file for a raw file
If the file already exists, new bad channels are added to the old ones. In order to replace the old file with only the new values, set
redo=True
.- Parameters
bad_chs (iterator of str) – Names of the channels to set as bad. Numerical entries are interpreted as “MEG XXX”. If bad_chs contains entries not present in the raw data, a ValueError is raised.
redo (bool) – If the file already exists, replace it (instead of adding).
.. – State parameters.
See also
make_bad_channels_auto
find bad channels automatically
load_bad_channels
load the current bad_channels file
merge_bad_channels
merge bad channel definitions for all sessions