eit_forward_results.get_acap_t_ppt

eit_forward_results.get_acap_t_ppt(thr: float = 0.05, verbose: bool = False, store: Literal['default', 'overwrite', 'external'] = 'default', **kwgs) DataFrame[source]

Build a dataframe describing CAP time windows for each acquisition line.

Note

This methods adds the following columns to the CAP Dataframe:

Dimensions

type

Description

line

int

Acquisition line index

i_res (Optional)

int

Results index in a eit_results_list

i_p (Optional)

int

Injection patern index for multipatern simulation

i_f

int

Frequency index

i_e

int

Electrode index

i_cap

int

CAP index

i_t_min

int

Min index in time vector

i_t_max

int

Max index in time vector

duration

float

CAP duration in ms

Parameters:
  • thr (float, optional) – Threshold forwarded to get_acap_mask().

  • verbose (bool, optional) – If True, print intermediate arrays used to build the table.

  • store (Literal["default", "overwrite", "external"], optional) – Storage policy for the resulting dataframe. "default" caches the first result, "overwrite" refreshes the cache, and "external" returns the dataframe without caching it.

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

Returns:

One row per detected CAP segment and acquisition line.

Return type:

pd.DataFrame