ddm.fitting#

Functions

DDM_Matrix(ISF, A, B)

Function to calculate the DDM matrix from a given ISF

compute_AB(dData)

Function to calculate the parameters A and B

compute_ISF(ddmMatrix, A, B)

Calculate ISF

doubleExp(t, tau1, tau2, n, S1, S2)

Function for single exponential DDM fits

findMeanSqFFT(dData)

Function to calculate the mean of the square of the FFT over all frames

findMeanSqFFT_numpy(dData)

Function to calculate the mean of the square of the FFT over all frames

genFit(isf, taus, fitFunc)

Generalised fitting function to fit the ISF

schultz(lagtime, tau1, tau2, n, S, Z)

Function for the so called Schultz model for fitting to DDM data containing both diffusive and actively directed motion

singleExp(t, tau, S)

Function for single exponential DDM fits

test_linear(isf, taus)