trajectory_generator# snake.core.sampling.factories.trajectory_generator(traj_factory, shape, **kwargs)[source]# Generate a trajectory. Parameters: traj_factory (Callable[[...], ndarray]) – Trajectory factory function. n_batch – Number of shot to deliver at once. kwargs (Any) – Trajectory factory kwargs. shape (tuple[int, ...]) Yields: np.ndarray – Kspace trajectory. Return type: Generator[ndarray, None, None]