mne.get_config_path

mne.get_config_path(home_dir=None)[source]

Get path to standard mne-python config file.

Parameters
home_dirstr | None

The folder that contains the .mne config folder. If None, it is found automatically.

Returns
config_pathstr

The path to the mne-python configuration file. On windows, this will be ‘%USERPROFILE%.mnemne-python.json’. On every other system, this will be ~/.mne/mne-python.json.

Examples using mne.get_config_path