plot_pod_vs_threshold
plot_pod_vs_threshold(show=True, save_path=None, ax=None)Generates a plot of Probability of Detection (y-axis) vs. Detection Threshold (x-axis) for representative defect sizes.
Uses the threshold spectrum of the current results (the last pod() call), so it always matches the model, parameters and slices you are looking at. Run compute_pod_spectrum() with the same settings first.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| show | bool | If True, calls plt.show(). | True |
| save_path | str | Saves the figure to this path. | None |
| ax | matplotlib.axes.Axes | Axes to draw on; a new figure is created if omitted. | None |