min_length_connection#
- mrinufft.trajectories.gradients.min_length_connection(kstarts: ndarray[tuple[int, ...], dtype[_ScalarType_co]], kends: ndarray[tuple[int, ...], dtype[_ScalarType_co]], gstarts: ndarray[tuple[int, ...], dtype[_ScalarType_co]], gends: ndarray[tuple[int, ...], dtype[_ScalarType_co]], 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: