plot_signal_surface

plot_signal_surface(
    poi_grids,
    mean_curve,
    X_raw,
    y_raw,
    threshold,
    poi_names,
    outcome_name='Signal Response',
    ax=None,
)

Result Plot 1 (Multi-Dimensional): Signal vs Parameters of Interest.

Visualizes the fitted mean surface and the detection threshold plane.

Parameters

Name Type Description Default
poi_grids list Two 1-D grids, one per parameter of interest. required
mean_curve np.ndarray Mean response on the grid, flattened with length len(poi_grids[0]) * len(poi_grids[1]) (first parameter varying slowest). required
X_raw np.ndarray The raw input values (currently not drawn). required
y_raw np.ndarray The raw signal responses (currently not drawn). required
threshold float The detection threshold, drawn as a horizontal plane. required
poi_names list Names of the two parameters, used as axis labels. required
outcome_name str z-axis label and title. Defaults to “Signal Response”. 'Signal Response'
ax optional A 3-D Matplotlib axes to draw on. Defaults to None (a new figure with a 3-D axes is created). None

Returns

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