stack_spherically#
- mrinufft.trajectories.tools.stack_spherically(trajectory_func, Nc, nb_stacks, z_tilt=None, hard_bounded=True, **traj_kwargs)[source]#
Stack 2D or 3D trajectories over the \(k_z\)-axis to make a sphere.
- Parameters:
trajectory_func (function) – Trajectory function that should return an array-like with the usual (Nc, Ns, Nd) size.
Nc (int) – Number of shots to use for the whole spherically stacked trajectory.
nb_stacks (int) – Number of stacks of trajectories.
z_tilt (str, optional) – Tilt of the stacks, by default None.
hard_bounded (bool, optional) – Whether the stacks should be strictly within the limits of the k-space, by default True.
**kwargs – Trajectory initialization parameters for the function provided with trajectory_func.
- Returns:
Stacked trajectory.
- Return type:
array_like