duplicate_along_axes#
- mrinufft.trajectories.tools.duplicate_along_axes(trajectory: ndarray[tuple[int, ...], dtype[_ScalarType_co]], axes: tuple[int, ...] = (0, 1, 2)) ndarray[tuple[int, ...], dtype[_ScalarType_co]][source]#
Duplicate a trajectory along the specified axes.
The provided trajectories are replicated with different orientation, with the \(k_x\)-axis being considered as the default orientation of the base trajectory.