pod.calculate_reliability_point

calculate_reliability_point(X_eval, ci_lower, target_pod=0.9)

Calculates the defect size (a90/95) where the Lower Confidence Bound crosses the target reliability threshold (usually 0.90).

Parameters

Name Type Description Default
X_eval np.ndarray The evaluation grid points. required
ci_lower np.ndarray The lower confidence bound curve (y values). required
target_pod float Target reliability level. Defaults to 0.90. 0.9

Returns

Name Type Description
float float The interpolated x-value, or np.nan if not reached.

Examples

a90_95 = calculate_reliability_point(X_eval, lower_ci, target_pod=0.90)
print(f"a90/95 point: {a90_95:.2f}")