min_length_connection#
- mrinufft.trajectories.min_length_connection(kstarts: ndarray[tuple[Any, ...], dtype[_ScalarT]], kends: ndarray[tuple[Any, ...], dtype[_ScalarT]], gstarts: ndarray[tuple[Any, ...], dtype[_ScalarT]], gends: ndarray[tuple[Any, ...], dtype[_ScalarT]], acq: Acquisition | None = None, method: Literal['lp', 'osqp'] = 'lp') int[source]#
Get the minimum length of gradient connection for a trajectory.
- Parameters:
$params_connect
- Returns:
The minimum length of the gradient connection.
- Return type: