mne.set_config#
- mne.set_config(key, value, home_dir=None, set_env=True)[source]#
Set a MNE-Python preference key in the config file and environment.
- Parameters
- key
str The preference key to set.
- value
str|None The value to assign to the preference key. If None, the key is deleted.
- home_dir
str|None The folder that contains the .mne config folder. If None, it is found automatically.
- set_envbool
If True (default), update
os.environin addition to updating the MNE-Python config file.
- key
See also