plot_pod_surface

plot_pod_surface(poi_grids, pod_curve, poi_names, ci_lower=None, ax=None)

Plots a 2D heatmap / contour for multi-dimensional PoD (2 Parameters of Interest). Draws the mean a90 contour by default, or the true a90/95 contour if ci_lower is provided.

Parameters

Name Type Description Default
poi_grids list Two 1-D grids, one per parameter of interest. required
pod_curve np.ndarray Mean PoD on the grid, flattened with length len(poi_grids[0]) * len(poi_grids[1]) (first parameter varying slowest). required
poi_names list Names of the two parameters, used as axis labels. required
ci_lower np.ndarray Lower confidence bound, same layout as pod_curve. If given, the 0.90 contour is drawn on it instead of the mean. Defaults to None. None
ax plt.Axes Axes to draw on; a colour bar is added to its figure. 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).