@@ -401,11 +401,11 @@ def get_gradient_timing_values(
401401 ----------
402402 ks : NDArray
403403 Starting k-space positions, shape (num_shots, dimension).
404- ke : NDArray
404+ ke : NDArray, default None when it is 0
405405 Ending k-space positions, shape (num_shots, dimension).
406- gs : NDArray
406+ gs : NDArray, default None when it is 0
407407 Starting gradient values, shape (num_shots, dimension).
408- ge : NDArray
408+ ge : NDArray, default None when it is 0
409409 Ending gradient values, shape (num_shots, dimension).
410410 gamma : float, optional
411411 Gyromagnetic ratio in Hz/T. Default is Gammas.Hydrogen.
@@ -414,7 +414,7 @@ def get_gradient_timing_values(
414414 gmax : float, optional
415415 Maximum gradient amplitude (T/m). Default is DEFAULT_GMAX.
416416 smax : float, optional
417- Maximum slew rate ( T/m/s) . Default is DEFAULT_SMAX.
417+ Maximum slew rate `` T/m/s`` . Default is DEFAULT_SMAX.
418418
419419
420420 Returns
@@ -485,9 +485,9 @@ def get_gradients_for_set_time(
485485 """Calculate timings for trapezoidal or triangular gradient waveforms.
486486
487487 Computes the gradient waveforms required to traverse from a starting k-space
488- position (ks) to an ending k-space position (ke) in a fixed number of time
489- steps (N) , subject to hardware constraints on maximum gradient amplitude
490- ( gmax) and slew rate ( smax) . The function supports both trapezoidal
488+ position ``ks`` to an ending k-space position ``ke`` in a fixed number of time
489+ steps ``N`` , subject to hardware constraints on maximum gradient amplitude
490+ `` gmax`` and slew rate `` smax`` . The function supports both trapezoidal
491491 and triangular gradient shapes, automatically adjusting the waveform to
492492 meet the area constraint imposed by the desired k-space traversal
493493 and the specified timing and hardware limits.
0 commit comments