snake.core.engine.cartesian
#
Acquisition engine for Cartesian trajectories.
Module Contents#
Classes#
Acquisition engine for EPI base trajectories. |
|
EVI Acquisition engine. Same as EPI, but the shots are longer. |
API#
- class snake.core.engine.cartesian.EPIAcquisitionEngine[source]#
Bases:
snake.core.engine.base.BaseAcquisitionEngine
Acquisition engine for EPI base trajectories.
- __engine_name__ = 'EPI'#
- __mp_mode__ = 'forkserver'#
- _get_chunk_list(data_loader: snake.mrd_utils.MRDLoader) collections.abc.Sequence[int] [source]#
- _job_trajectories(data_loader: snake.mrd_utils.MRDLoader, hdr: ismrmrd.xsd.ismrmrdHeader, sim_conf: snake.core.simulation.SimConfig, chunk: collections.abc.Sequence[int]) numpy.ndarray [source]#
Generate the fourier operator by iterating the dataset.
- static _job_model_T2s(phantom: snake.core.phantom.Phantom, dyn_datas: list[snake.core.phantom.DynamicData], sim_conf: snake.core.simulation.SimConfig, trajectories: numpy.typing.NDArray, slice_2d: bool = False) numpy.ndarray [source]#
Acquire k-space data. With T2s decay.
- static _job_model_simple(phantom: snake.core.phantom.Phantom, dyn_datas: list[snake.core.phantom.DynamicData], sim_conf: snake.core.simulation.SimConfig, trajectories: numpy.typing.NDArray, slice_2d: bool = False) numpy.ndarray [source]#
Acquire k-space data. No T2s decay.
- _write_chunk_data(data_loader: snake.mrd_utils.MRDLoader, chunk: collections.abc.Sequence[int], chunk_data: numpy.typing.NDArray) None [source]#
- class snake.core.engine.cartesian.EVIAcquisition[source]#
Bases:
snake.core.engine.cartesian.EPIAcquisitionEngine
EVI Acquisition engine. Same as EPI, but the shots are longer.
- __engine_name__ = 'EVI'#
- __mp_mode__ = 'forkserver'#
- _get_chunk_list(data_loader: snake.mrd_utils.MRDLoader) collections.abc.Sequence[int] [source]#
- _job_trajectories(data_loader: snake.mrd_utils.MRDLoader, hdr: ismrmrd.xsd.ismrmrdHeader, sim_conf: snake.core.simulation.SimConfig, chunk: collections.abc.Sequence[int]) numpy.ndarray [source]#
Generate the fourier operator by iterating the dataset.
- static _job_model_T2s(phantom: snake.core.phantom.Phantom, dyn_datas: list[snake.core.phantom.DynamicData], sim_conf: snake.core.simulation.SimConfig, trajectories: numpy.typing.NDArray) numpy.ndarray [source]#
Acquire k-space data. With T2s decay.
- static _job_model_simple(phantom: snake.core.phantom.Phantom, dyn_datas: list[snake.core.phantom.DynamicData], sim_conf: snake.core.simulation.SimConfig, trajectories: numpy.typing.NDArray) numpy.ndarray [source]#
Acquire k-space data. No T2s decay.
- _write_chunk_data(data_loader: snake.mrd_utils.MRDLoader, chunk: collections.abc.Sequence[int], chunk_data: numpy.typing.NDArray) None [source]#