eegdash.paths module#
Path utilities and cache directory management.
This module provides functions for resolving consistent cache directories and path management throughout the EEGDash package, with integration to MNE-Python’s configuration system.
- eegdash.paths.get_default_cache_dir() Path [source]
Resolve the default cache directory for EEGDash data.
The function determines the cache directory based on the following priority order: 1. The path specified by the
EEGDASH_CACHE_DIR
environment variable. 2. The path specified by theMNE_DATA
configuration in the MNE-Pythonconfig file.
A hidden directory named
.eegdash_cache
in the current working directory.
- Returns:
The resolved, absolute path to the default cache directory.
- Return type:
pathlib.Path