mrpro.phantoms.brainweb.download_brainweb
- mrpro.phantoms.brainweb.download_brainweb(output_directory: str | PathLike = CACHE_DIR, workers: int = 4, progress: bool = False, compress: bool = False) None [source]
Download Brainweb data.
- Parameters:
output_directory (
str
|PathLike
, default:CACHE_DIR
) – 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.