mrpro.phantoms.mdcnn.download_mdcnn

mrpro.phantoms.mdcnn.download_mdcnn(output_directory: str | PathLike = CACHE_DIR_MDCNN, n_files: int = 108, workers: int = 4, progress: bool = False) None[source]

Download MD-CNN [MDCNN] dataset from Harvard Dataverse and save it as numpy files.

References

[MDCNN]

H. El-Rewaidy, “Replication Data for: Multi-Domain Convolutional Neural Network (MD-CNN) For Radial Reconstruction of Dynamic Cardiac MRI.” Harvard Dataverse, 2020. https://doi.org/10.7910/DVN/CI3WB6.

Parameters:
  • output_directory (Path) – Directory to save files.

  • n_files (int) – Number of files to download. Maximum is 108. If lower than 108, the first n_files based on the harvard dataverse id will be downloaded.

  • workers (int) – Number of parallel downloads.

  • progress (bool) – Show progress bar.