arpes.plotting.ui.fit_inspection#
- arpes.plotting.ui.fit_inspection(dataset, spectral_name='spectrum', *, use_quadmesh=False, **kwargs)#
Displays interactive visualization of fitted ARPES data with residuals.
This function creates a panel for inspecting model fitting results in ARPES data, showing the experimental data, best-fit model, and residuals. A vertical slice view enables interactive inspection across energy or momentum axes.
- Parameters:
dataset (xr.Dataset) – xarray Dataset containing at least modelfit_data and modelfit_best_fit.
spectral_name (str, optional) – Prefix for spectral variables, e.g., ‘spectrum’. Defaults to “spectrum”.
use_quadmesh (bool, optional) – If True, use Holoviews QuadMesh for plotting. Useful for non-uniform coordinate spacing. Defaults to False.
**kwargs – Visualization options. - width (int): Image width in pixels. - height (int): Image height in pixels. - cmap (str): Colormap. - log (bool): Use logarithmic z-axis. - profile_view_height (int): Height/width of profile views.
- Returns:
Layout with data image, vline, fit and residual profiles.
- Return type:
holoviews.AdjointLayout