snake.core.phantom.dynamic#

Dynamic data object.

Module Contents#

Classes#

DynamicData

Dynamic data object.

KspaceDynamicData

Dynamic DAta that will be applied in the k-space.

Data#

log

API#

snake.core.phantom.dynamic.log = 'getLogger(...)'[source]#
class snake.core.phantom.dynamic.DynamicData[source]#

Dynamic data object.

name: str = None#
data: numpy.typing.NDArray = None#
func: collections.abc.Callable[[snake.core.phantom.static.Phantom, numpy.typing.NDArray, int], snake.core.phantom.static.Phantom] = None#
in_kspace: bool = False#
apply(phantom: snake.core.phantom.static.Phantom, sim_conf: snake.core.simulation.SimConfig, time_idx: int) snake.core.phantom.static.Phantom[source]#

Apply the dynamic data to the phantom.

classmethod _from_waveform(waveform: ismrmrd.Waveform, wave_info: dict) snake.core.phantom.dynamic.DynamicData[source]#
class snake.core.phantom.dynamic.KspaceDynamicData[source]#

Bases: snake.core.phantom.dynamic.DynamicData

Dynamic DAta that will be applied in the k-space.

name: str = None#
data: numpy.typing.NDArray = None#
func: collections.abc.Callable[[numpy.typing.NDArray, numpy.typing.NDArray, int], snake.core.phantom.static.Phantom] = None#
in_kspace: bool = True#