Consistency Checks#
Many problems, such as sign convention mishaps or unit conversion issues, can be detected from inconsistencies between
or within columns in a dataset.
The battdat.consistency
module provides algorithms that check whether there may be problems within a battery dataset.
All algorithms are based on ConsistencyChecker
,
which creates a list of warnings given a dataset.
computer = ConsistencyChecker()
warnings = computer.check(data)
if len(warnings) > 0:
print(f'There are {len(warnings)} warnings, which includes: {warnings[0]}')