mr2.phantoms.a4im_lowfield.IBTDataset

class mr2.phantoms.a4im_lowfield.IBTDataset[source]

Bases: IsmrmrdDataset

Raw 0.6 T brain data from a ramped-down Philips Ingenia Ambition X.

The 45 mT/m, 200 T/m/s gradient system and a nominal 14-channel head coil were used for ten volunteers. The qualitative protocol comprises 2D Cartesian FSE PDw/T1w/T2w scans (three slices, 232 x 176 matrix, about 1 x 1 x 5 mm, ETL 8) with TE/TR 5.125/3000, 5.125/600, and 70/3000 ms and 3/14/3 averages. Quantitative scans comprise 11 inversion-delay b-TFE T1 acquisitions (TR/TE 4.74/2.08 ms) and 8–10 GraSE/RARE T2 echoes (TE 21–118 ms, TR 1000 ms, EPI factor 7) with three averages. Subject 1 lacks the last two T2 echoes. See Zenodo record 18847561.

Files named *_averageN.h5 are grouped by scan. Each item contains a leading average dimension, and header.acq_info.idx.average records the filename labels, which can differ from the in-file acquisition indices. With individual_averages=True, only averageN files are selected; all other files, including every T1 mapping scan, are excluded. Otherwise, the already-combined files are loaded. Philips metadata report either 14 or 15 active channels by scan.

__init__(path: str | PathLike | Sequence[str | PathLike] = CACHE_DIR_A4IM_LOWFIELD / 'ibt', acquisition: Literal['pdw', 't1w', 't2w', 't1map', 't2map'] | None = None, individual_averages: bool = False, *, trajectory: KTrajectoryCalculator | KTrajectory | KTrajectoryIsmrmrd | None = None) → None[source]

Select IBT files.

Parameters:
  • path (str | PathLike | Sequence[str | PathLike], default: CACHE_DIR_A4IM_LOWFIELD / 'ibt') – Extracted dataset directory, raw file, or sequence of raw files.

  • acquisition (Optional[Literal['pdw', 't1w', 't2w', 't1map', 't2map']], default: None) – Weighted image or mapping acquisition; all if None.

  • individual_averages (bool, default: False) – Stack the averageN files instead of loading combined files.

  • trajectory (KTrajectoryCalculator | KTrajectory | KTrajectoryIsmrmrd | None, default: None) – Trajectory calculator or trajectory; Cartesian by default.

load(filename: str | PathLike) → KData[source]

Load an ISMRMRD file using this dataset’s loading options.

__eq__(value, /)

Return self==value.

__new__(**kwargs)