gradec.utils.get_data_dir
- gradec.utils.get_data_dir(data_dir=None)[source]
Get path to gradec data directory.
- Parameters:
data_dir (str, optional) – Path to use as data directory. If not specified, will check for environmental variable ‘GRADEC_DATA’; if that is not set, will use ~/gradec-data instead. Default: None
- Returns:
data_dir (str) – Path to use as data directory
Notes
Taken from Neuromaps. https://github.com/netneurolab/neuromaps/blob/abf5a5c3d3d011d644b56ea5c6a3953cedd80b37/ neuromaps/datasets/utils.py#LL91C1-L115C20