CartesianFrameDataLoader#
- class snake.mrd_utils.loader.CartesianFrameDataLoader(filename, dataset_name='dataset', writeable=False, swmr=False)[source]#
Bases:
MRDLoader
Load cartesian MRD files k-space frames iteratively.
Examples
>>> for mask, kspace in CartesianFrameDataLoader("test.mrd"): image = ifft(kspace)
Methods
__init__
get_all_dynamic
Get all dynamic data.
get_coil_cov
Load the coil covariance from the dataset.
get_dynamic
Get dynamic data.
Get the k-space frame.
get_phantom
Load the phantom from the dataset.
get_sim_conf
Parse the sim config.
get_smaps
Load the sensitivity maps from the dataset.
iter_frames
Iterate over kspace frames of the dataset.
Attributes
header
Get the header from the mrd file.
log
Logger.
n_acquisition
Number of acquisition in the dataset.
n_coils
Number of coils.
n_frames
Number of frames.
n_sample
Number of samples in a single acquisition.
n_shots
Number of samples in a single acquisition.