captest.CapTest.determine_pass_or_fail
- CapTest.determine_pass_or_fail(cap_ratio)
Determine a pass/fail result from a capacity ratio.
Uses
self.test_toleranceandself.ac_nameplate. Replaces the pre-CapTest module-levelcapdata.determine_pass_or_fail.- Parameters:
cap_ratio (float) – Ratio of the measured-data regression result to the modeled-data regression result.
- Returns:
Pass/fail flag and the tolerance bounds string.
- Return type:
tuple of (bool, str)