plot_pod_curve

plot_pod_curve(
    X_eval,
    pod_curve,
    ci_lower=None,
    ci_upper=None,
    target_pod=0.9,
    confidence_level=95,
    poi_name='Parameter of Interest',
    ax=None,
)

Result Plot 2: Probability of Detection (The Reliability).

Visualizes the PoD curve with Bootstrap Confidence Intervals. Equivalent to Figure 11 in the Generalized Method paper.

Parameters

Name Type Description Default
X_eval np.ndarray The grid of parameter values the curve is evaluated at. required
pod_curve np.ndarray The PoD estimate at each point of X_eval. required
ci_lower np.ndarray Lower confidence bound at X_eval. Defaults to None. None
ci_upper np.ndarray Upper confidence bound at X_eval. The band is shaded only when both bounds are given. Defaults to None. None
target_pod float Target PoD for the reliability point (e.g. a90/95), marked where ci_lower reaches it. Defaults to 0.90. 0.9
confidence_level float Confidence level in percent, used in labels. Defaults to 95. 95
poi_name str x-axis label. Defaults to “Parameter of Interest”. 'Parameter of Interest'
ax plt.Axes Axes to draw on. Defaults to None (a new figure is created). None

Returns

Name Type Description
plt.Axes plt.Axes: The axes drawn on (the given ax, or a new one on a new figure).