stack_spherically#
- mrinufft.trajectories.tools.stack_spherically(trajectory_func: Callable[[...], ndarray[tuple[int, ...], dtype[_ScalarType_co]]], Nc: int, nb_stacks: int, z_tilt: str | float | None = None, hard_bounded: bool = True, **traj_kwargs: Any) ndarray[tuple[int, ...], dtype[_ScalarType_co]][source]#
Stack 2D or 3D trajectories over the \(k_z\)-axis to make a sphere.
- Parameters:
trajectory_func (Callable[..., NDArray]) – 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 | float, 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.
**traj_kwargs (Any) – Trajectory initialization parameters for the function provided with trajectory_func.
- Returns:
Stacked trajectory.
- Return type:
NDArray