update_slice

update_slice(slice_values)

Updates the evaluated slice for the PoD surface using Layer 3 Caching. This allows for real-time plot updates when changing constant parameters in the UI.

Re-runs pod() with the current settings, the new slice values and n_boot=0.

Parameters

Name Type Description Default
slice_values dict New values for (some of) the sliced parameters. required

Returns

Name Type Description
Dict Dict[str, Any] The new pod_results (empty if pod() hasn’t been run). They have no
Dict[str, Any] bootstrap bounds, so a90_95 is NaN; use results["curves"]["pod"], or
Dict[str, Any] re-run pod() with n_boot > 0 for bounds.