eit_results_list.get_cap_res

eit_results_list.get_cap_res(thr: float = 0.05, ext_factor=None, expr: str | None = None, which='v_eit', with_t: bool = False, i_res: ndarray | int | None = None, i_e: ndarray | int | None = None, i_f: ndarray | int | None = None, i_p: ndarray | int | None = None, v_abs: bool = False, **kwgs) ndarray[source]

Extract a signal restricted to the detected CAP time window.

Parameters:
  • thr (float, optional) – Threshold used to build the CAP time limits.

  • ext_factor (float | None, optional) – Optional factor used to enlarge the CAP time window.

  • expr (str | None, optional) – Extra pandas-query expression applied to the CAP dataframe.

  • which (str, optional) – Signal family forwarded to get_res().

  • with_t (bool, optional) – If True, also return the corresponding time vector.

  • i_res (np.ndarray | int | None, optional) – Result, electrode, frequency, and pattern indices.

  • i_e (np.ndarray | int | None, optional) – Result, electrode, frequency, and pattern indices.

  • i_f (np.ndarray | int | None, optional) – Result, electrode, frequency, and pattern indices.

  • i_p (np.ndarray | int | None, optional) – Result, electrode, frequency, and pattern indices.

  • v_abs (bool, optional) – If True, return absolute values.

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

Returns:

Signal restricted to the CAP window, optionally paired with time.

Return type:

np.ndarray | tuple[np.ndarray, np.ndarray]