apply_motion_to_phantom# snake.core.handlers.motion.image.apply_motion_to_phantom(phantom, motions, time_idx)[source]# Apply motion to the phantom. Parameters: phantom (Phantom) motions (ndarray[Any, dtype[_ScalarType_co]]) time_idx (int) Return type: Phantom