PyDDM.ddm_analysis_and_fitting.interactive_fit_inspection

PyDDM.ddm_analysis_and_fitting.interactive_fit_inspection#

interactive_fit_inspection(fit)#

Interactive plot of tau vs q to inspect each fit.

Generates a decay time (tau) vs wavevector (q) plot on a log-log scale. Click a point to view a plot of the ISF or DDM matrix (whichever was used to fit) versus lag time for chosen q value. Pressing the ‘N’ or ‘P’ keys will also advance forward (‘N’ext) or backwards (‘P’revious) through the tau vs q points.

Parameters:

fit (xarray dataset) – Results of fit to either DDM matrix or ISF.

Returns:

fig – Interactive figure

Return type:

matplotlib figure