PyDDM.ddm_calc
PyDDM.ddm_calcΒΆ
This module contains the code for calculating and fitting the DDM matrix. The
module PyDDM.ddm_analysis_and_fitting
defines classes which interface
with the functions here.
Functions
Calculates DDM matrix |
|
Used to assist in determining the parameters \(A\) and \(B\) in the expression for the DDM matrix \(D(q,\Delta t) = A(q) [1 - f(q, \Delta t)] + B(q)\). |
|
Performs least_squares fit. |
|
Performs curve_fit fit. |
|
Computes the radial average of a single 2D matrix. |
|
Function to fit the DDM matrix or ISF for one wavevector. |
|
Function to fit the DDM matrix or ISF for all wavevectors. |
|
This function will generate a logarithmically spaced set of numbers. |
|
Generates a mask of the same size as im to avoid radially averaging the whole DDM matrix. |
|
This code calculates the far-field DDM matrix for the series of images in imageFile at the lag times specified in dts. |
|
Finds the mean squared displacement (MSD) from the DDM matrix as well as values for the amplitude (A) and background (B). |
|
Radially averages DDM matrix. |
|
Calculates DDM matrix as a function of time at given lag time |
|
Applies windowing function to images. |
Classes
A StreamHandler for logging that clears output between entries. |