plenoptic.data package
Submodules
plenoptic.data.fetch module
- plenoptic.data.fetch.fetch_data(dataset_name)[source]
Download data, using pooch. These are largely used for testing.
To view list of downloadable files, look at DOWNLOADABLE_FILES.
This checks whether the data already exists and is unchanged and downloads again, if necessary. If dataset_name ends in .tar.gz, this also decompresses and extracts the archive, returning the Path to the resulting directory. Else, it just returns the Path to the downloaded file.
- Return type:
Path
Find directory shared by all paths.
- Return type:
Path
Module contents
- plenoptic.data.fetch_data(dataset_name)[source]
Download data, using pooch. These are largely used for testing.
To view list of downloadable files, look at DOWNLOADABLE_FILES.
This checks whether the data already exists and is unchanged and downloads again, if necessary. If dataset_name ends in .tar.gz, this also decompresses and extracts the archive, returning the Path to the resulting directory. Else, it just returns the Path to the downloaded file.
- Return type:
Path