mrpro.phantoms.brainweb.download_brainweb
- mrpro.phantoms.brainweb.download_brainweb(output_directory: str | PathLike = CACHE_DIR_BRAINWEB, workers: int = 4, progress: bool = False, compress: bool = False, n_files: int = 20) None [source]
Download Brainweb data.
- Parameters:
output_directory (
str
|PathLike
, default:CACHE_DIR_BRAINWEB
) – Directory to save the data.workers (
int
, default:4
) – Number of parallel downloads.progress (
bool
, default:False
) – Show progress bar.compress (
bool
, default:False
) – Use compression for HDF5 files. Saves disk space but might slow down (or speed up) access, depending on the system and access pattern.n_files (
int
, default:20
) – Number of files to download. Can be used to download only a subset of the files. Cannot be greater than 20.