display_gradients_simply#

mrinufft.trajectories.display.display_gradients_simply(trajectory, shot_ids=(0,), figsize=5, fill_area=True, show_signal=True, uni_signal='gray', uni_gradient=None, subfigure=None)[source]#

Display gradients based on trajectory of any dimension.

Parameters:
  • trajectory (array_like) – Trajectory to display.

  • shot_ids (list of int) – Indices of the shots to display. The default is [0].

  • figsize (float, optional) – Size of the figure.

  • fill_area (bool, optional) – Fills the area under the curve for improved visibility and representation of the integral, aka trajectory. The default is True.

  • show_signal (bool, optional) – Show an additional illustration of the signal as the modulated distance to the center. The default is True.

  • uni_signal (str or None, optional) – Define whether the signal should be represented by a unique color given as argument or just by the default color cycle when None. The default is “gray”.

  • uni_signal – Define whether the gradients should be represented by a unique color given as argument or just by the default color cycle when None. The default is None.

  • subfigure (plt.Figure or plt.SubFigure, optional) – The figure where the trajectory should be displayed. The default is None.

Returns:

axes – Axes of the figure.

Return type:

plt.Axes

Examples using mrinufft.trajectories.display.display_gradients_simply#

Animated 2D trajectories

Animated 2D trajectories

Animated 3D trajectories

Animated 3D trajectories