Logging and Configuration

get_config_path([home_dir])

Get path to standard mne-python config file.

get_config([key, default, raise_error, …])

Read MNE-Python preferences from environment or config file.

open_docs([kind, version])

Launch a new web browser tab with the MNE documentation.

set_log_level([verbose, return_old_level, …])

Set the logging level.

set_log_file([fname, output_format, overwrite])

Set the log to print to a file.

set_config(key, value[, home_dir, set_env])

Set a MNE-Python preference key in the config file and environment.

set_cache_dir(cache_dir)

Set the directory to be used for temporary file storage.

sys_info([fid, show_paths])

Print the system information for debugging.

verbose(function)

Verbose decorator to allow functions to override log-level.

mne.utils:

deprecated([extra])

Mark a function or class as deprecated (decorator).

warn(message[, category, module])

Emit a warning with trace outside the mne namespace.

mne.cuda:

get_cuda_memory([kind])

Get the amount of free memory for CUDA operations.

init_cuda([ignore_config, verbose])

Initialize CUDA functionality.

set_cuda_device(device_id[, verbose])

Set the CUDA device temporarily for the current session.