slv.inversion.sweep.SweepResults.plot_chi2#

SweepResults.plot_chi2(param, ax=None, target_band=(0.9, 1.1))[source]#

Scatter plot of reduced chi² vs a swept parameter.

Parameters:
  • param (str) – Column name (with or without the cfg_ prefix).

  • ax – Existing matplotlib.axes.Axes. If None, creates a figure.

  • target_band (tuple[float, float]) – Shade this chi² range in green (default (0.9, 1.1)).