plot_all_elec

nrv.eit.utils.plot_all_elec(res_list, t=None, axs=None, i_res=0, which='dv_eit', same_scale=True, labels=None, scale_x=True, **kwgs)[source]

Plot one signal trace per electrode on an existing or generated layout.

Parameters:
  • res_list (eit_results_list | np.ndarray) – Data source to plot.

  • t (np.ndarray | None, optional) – Time vector used with raw arrays.

  • axs (list[matplotlib.axes.Axes] | None, optional) – Existing axes. When omitted, a new figure is generated.

  • i_res (int, optional) – Result index extracted from an eit_results_list.

  • which (str, optional) – Signal family extracted from an eit_results_list.

  • same_scale (bool, optional) – Reserved for future scaling behavior.

  • labels (Any, optional) – Reserved for future labeling behavior.

  • scale_x (bool, optional) – If True, set x-limits from 0 to t[-1].

  • **kwgs (dict) – Additional keyword arguments forwarded to Axes.plot.

Returns:

Generated figure and axes, or updated axes when axs is provided.

Return type:

tuple | list[matplotlib.axes.Axes]