eit_forward_results.get_cap_mask

eit_forward_results.get_cap_mask(thr: float = 0.05, **kwgs)[source]

Detect the global CAP window on the most responsive electrode.

Parameters:
  • thr (float, optional) – Threshold applied to the normalized percentage differential signal.

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

Returns:

Boolean mask over time identifying samples attributed to the CAP.

Return type:

np.ndarray