NeuroConn.data package¶
Submodules¶
NeuroConn.data.example_datasets module¶
- NeuroConn.data.example_datasets.fetch_example_data(gdrive_url='https://drive.google.com/file/d/1ijrYstMmsjMmQcM9ThoVf_dMYl9GFcv6/view?usp=share_link', output_name='example_data')[source]¶
Downloads and extracts example data from a Google Drive URL.
- Parameters:
gdrive_url (str, optional) – The Google Drive URL to download the data from. Default is the URL defined in the function.
output_name (str, optional) – The name of the output file. Default is the name defined in the function.
- Returns:
The path to the downloaded data.
- Return type:
str
- NeuroConn.data.example_datasets.unzip_and_delete(file_path, output_dir='/Users/VictoriaShevchenko/opt/miniconda3/envs/neuro/lib/python3.9/site-packages/NeuroConn/data')[source]¶
Extracts the contents of a zip file to a specified directory and deletes the zip file.
- Parameters:
file_path (str) – The path to the zip file.
output_dir (str, optional) – The directory to extract the contents of the zip file to. Default is the directory of the script file.
- Return type:
None