plot_gto_dynamics#

plot_gto_dynamics(
results: Block,
axs: Iterable[Axes],
muscle_name: str = 'hill_flexor',
include_signals: list[str] = ['force', 'Ib'],
time_range: tuple[float, float] | None = None,
title: str = 'GTO Model Dynamics',
xlabel: str = 'Time [ms]',
apply_default_formatting: bool = True,
**kwargs: Any,
) Iterable[Axes][source]#

Plot Golgi tendon organ (GTO) dynamics.

Parameters:
  • results (Block) – NEO Block containing GTO model segment.

  • axs (IterableType[Axes]) – Matplotlib axes to plot on (one per signal).

  • muscle_name (str, optional) – Name of muscle segment to use for force and time data, by default “hill_flexor”.

  • include_signals (list[str], optional) – Signals to plot, by default [“force”, “Ib”].

  • time_range (tuple[float, float], optional) – Time range to plot, by default None.

  • title (str, optional) – Plot title, by default “GTO Model Dynamics”.

  • xlabel (str, optional) – X-axis label, by default “Time [ms]”.

  • apply_default_formatting (bool, optional) – Whether to apply default formatting, by default True.

  • **kwargs (Any) – Additional keyword arguments passed to matplotlib plot functions.

Returns:

The axes that were plotted on.

Return type:

IterableType[Axes]