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

plenoptic.data.fetch.find_shared_directory(paths)[source]

Find directory shared by all paths.

Return type:

Path

Module contents

plenoptic.data.color_wheel(as_gray=False)[source]
Return type:

Tensor

plenoptic.data.curie(as_gray=True)[source]
Return type:

Tensor

plenoptic.data.einstein(as_gray=True)[source]
Return type:

Tensor

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

plenoptic.data.parrot(as_gray=False)[source]
Return type:

Tensor

plenoptic.data.reptile_skin(as_gray=True)[source]
Return type:

Tensor