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
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.