ROVI-org / battery-data-toolkit

Utilities for reading and manipulating battery testing data
Apache License 2.0
37 stars 8 forks source link

Add methods for computing cycle times #68

Closed WardLT closed 4 months ago

WardLT commented 4 months ago

Compute the start of a cycle and its duration.

To do:

coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9096806489

Details


Totals Coverage Status
Change from base Build 9036334369: 0.3%
Covered Lines: 772
Relevant Lines: 925

💛 - Coveralls
WardLT commented 4 months ago

I talked with @victorventuri offline, and we agreed that picking the duration to be between the starts times of cycles is OK. That said, we both hope the difference between this definition and measuring the span between first/last points of a cycle is minimal.

I also added a warning if there is only one point per cycle.