eit_results_list.get_dv_from_df
- eit_results_list.get_dv_from_df(data: DataFrame, verbose: bool = False, masked_time: bool = True, with_v_0: bool = False) ndarray | MaskedArray
Extract differential EIT traces described by a CAP dataframe.
- Parameters:
data (pd.DataFrame) – Table containing at least the line descriptors and CAP time bounds.
verbose (bool, optional) – If
True, print extracted indices and array shapes.masked_time (bool, optional) – If
True, mask samples outside the(i_t_min, i_t_max)interval stored indata.with_v_0 (bool, optional) – If
True, also return the baseline voltage used for normalization.
- Returns:
Differential EIT traces, optionally masked in time and optionally paired with the baseline voltage.
- Return type:
np.ndarray | np.ma.MaskedArray | tuple