mne.set_cache_dir#

mne.set_cache_dir(cache_dir)[source]#

Set the directory to be used for temporary file storage.

This directory is used by joblib to store memmapped arrays, which reduces memory requirements and speeds up parallel computation.

Parameters
cache_dirstr or None

Directory to use for temporary file storage. None disables temporary file storage.