eegdash.paths#
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.
Functions
Resolve the default cache directory for EEGDash data. |
- 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:
The path specified by the
EEGDASH_CACHE_DIRenvironment variable.- The path specified by the
MNE_DATAconfiguration in the MNE-Python config file.
- The path specified by the
- A hidden directory named
.eegdash_cachein the current working directory.
- A hidden directory named
- Returns:
The resolved, absolute path to the default cache directory.
- Return type:
pathlib.Path