CapTest
CapTest organizes a pair of
CapData objects (measured and simulated) along
with test configuration, and provides methods for computing reporting
conditions, running the ASTM E2848 capacity test, and evaluating pass/fail.
|
Config + state container for an ASTM E2848 capacity test. |
Constructors
Alternative constructors for building a CapTest
from parameters, YAML files, or mapping objects.
|
Construct a CapTest from parameter kwargs. |
|
Construct a CapTest from a yaml config file. |
|
Construct a CapTest from an already-parsed captest sub-mapping. |
Setup
Methods for configuring the test and serializing configuration.
|
Resolve TEST_SETUPS, propagate scalars, process regression cols. |
|
Serialize the curated CapTest configuration to a yaml file. |
Return the resolved TEST_SETUPS entry or raise if setup() not run. |
Reporting Conditions
|
Call |
Lower irradiance fraction bound derived from |
|
Upper irradiance fraction bound derived from |
Results
Methods for running the capacity test and evaluating pass/fail.
Compute the capacity test ratio for |
|
Compute cap ratio with and without p-value filtering. |
|
|
Determine a pass/fail result from a capacity ratio. |
Concatenate |
Visualization
|
Create the scatter plot for the active capacity-test setup. |
Overlay the final scatter plot from |
|
Overlayed residual plots for |
Module-level Functions
Standalone functions used alongside CapTest.
|
Load and lightly validate the captest sub-mapping from a yaml file. |