pydpeet.add_charge_throughput#

pydpeet.add_charge_throughput(df, calculate_tests_individually=False, verbose=True)[source]#

Calculate charge throughput and absolute charge throughput from a given DataFrame.

Parameters: df (pandas.DataFrame): Input DataFrame containing ‘Test_Time[s]’ and ‘Current[A]’ columns

Returns: pandas.DataFrame: DataFrame with added ‘ChargeThroughput[Ah]’ and ‘AbsoluteChargeThroughput[Ah]’ columns

Notes: The ‘ChargeThroughput[Ah]’ column represents the cumulative charge (in Ah) with sign (i.e., loaded + / unloaded -) The ‘AbsoluteChargeThroughput[Ah]’ column represents the cumulative absolute charge (in Ah)

Parameters:
Return type:

DataFrame