mrpro.phantoms.FastMRIKDataDataset
- class mrpro.phantoms.FastMRIKDataDataset[source]
Bases:
Dataset
FastMRI KData Dataset.
This dataset returns KData objects for single slices or stacks of slices of the FastMRI brain or knee dataset. The data has to be downloaded beforehand. See https://fastmri.med.nyu.edu/ for more information.
- __init__(path: PathLike | str | Sequence[PathLike | str], single_slice: bool = True)[source]
Initialize the dataset.
- Parameters:
path (PathLike) – Either a path to a directory containing the FastMRI data as .h5 files or a sequence of paths of individual files.
single_slice (bool) – Whether to return single slices or stacks of slices.
- __eq__(value, /)
Return self==value.
- __new__(**kwargs)