mne.set_config
mne.
set_config
Set a MNE-Python preference key in the config file and environment.
key : str | None
The preference key to set. If None, a tuple of the valid keys is returned, and value and home_dir are ignored.
value
home_dir
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_env : bool
If True (default), update os.environ in addition to updating the MNE-Python config file.
os.environ
See also
get_config
Background information on configurations
Basic MEG and EEG data processing