mne.get_config_path

mne.get_config_path(home_dir=None)

Get path to standard mne-python config file

Parameters:

home_dir : str | None

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

Returns:

config_path : str

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

Examples using mne.get_config_path