PyDDM.ddm_analysis_and_fitting

PyDDM.ddm_analysis_and_fittingΒΆ

Preprocessing of data and core part of DDM analysis

Functions

apply_binning

Bin a series of images by a given factor

fit_report

Creates a set of plots based on fit results

get_tau_vs_q_fit

From decay time (tau) vs wavevector (q), gets effective diffusion coeff and scaling exponent

interactive_fit_inspection

Interactive plot of tau vs q to inspect each fit.

newt

This function is used to determine a new time when a distribution of decay times are present.

print_fitting_models

recalculate_ISF_with_new_background

The intermediate scattering function (ISF) is re-calculated from the DDM matrix, with the given background value.

save_fit_results_to_excel

Saves fit results to Excel file

Classes

Browse_DDM_Fits

Class for interactive inspection of DDM data fits.

DDM_Analysis

Performs preprossing of data, such as cropping, windowing etc.

DDM_Fit

Set of functions to fit DDM matrix (image structure function) or ISF, the user can choose from a variety of mathematical models PyDDM.ISF_and_DDMmatrix_theoretical_models.