BGlib.be.translators.df_utils.be_utils.infer_bipolar_triangular_fraction_phase

BGlib.be.translators.df_utils.be_utils.infer_bipolar_triangular_fraction_phase(slopes)[source]

Infers the VS cycle fraction and phase when parameters were stored in old mat files

Parameters:

slopes (list / tuple) – Array of mean slopes of each fraction of a SINGLE cycle

Returns:

fractionfloat

Fraction of VS cycle

phasefloat

Phase offset for VS cycle

Return type:

tuple