mrpro.phantoms.M4RawDataset

class mrpro.phantoms.M4RawDataset[source]

Bases: Dataset

M4Raw KData Dataset.

M4Raw [M4RAW] low-field (0.3T) brain dataset. The data can be downloaded from zenodo [M4RAW_DATA]. The data consists of Cartsian GRE, T1w, T2w, and FLAIR images with multiple repetitions. It will be returned as mrpro.data.KData objects of either a single slice or a stack of slices with multiple repetitions.

References

[M4RAW_DATA]

Lyu, M., Mei, L., Huang, S., et al.(2023). M4Raw: A multi-contrast, multi-repetition, multi-channel MRI k-space dataset for low-field MRI research [Data set] https://doi.org/10.5281/zenodo.8056074

[M4RAW]

Lyu, M., Mei, L., Huang, S. et al. M4Raw: A multi-contrast, multi-repetition, multi-channel MRI k-space dataset for low-field MRI research. Sci Data 10, 264 (2023). https://doi.org/10.1038/s41597-023-02181-4

__init__(path: PathLike | str | Sequence[PathLike | str], single_slice: bool = False)[source]

Initialize the dataset.

Parameters:
  • path (PathLike) – Either a path to a directory containing the M4Raw 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)