DynamicData# class snake.core.phantom.dynamic.DynamicData(name, data, func, in_kspace=False)[source]# Bases: object Dynamic data object. Methods __init__ apply Apply the dynamic data to the phantom. Attributes in_kspace name data func Parameters: name (str) data (ndarray[Any, dtype[_ScalarType_co]]) func (Callable[[Phantom, ndarray[Any, dtype[_ScalarType_co]], int], Phantom]) in_kspace (bool) apply(phantom, sim_conf, time_idx)[source]# Apply the dynamic data to the phantom. Parameters: phantom (Phantom) sim_conf (SimConfig) time_idx (int) Return type: Phantom