PyDDM.utils.create_two_time_correlation_matrix

PyDDM.utils.create_two_time_correlation_matrix

create_two_time_correlation_matrix(ddm_variability, number_of_frames, q_index)

Create two-time correlation matrix

After generating the DDM matrix as a function of time lag as well as of time, can use this function to generate a 2D two-time correlation function for a particular wavenumber.

Parameters
  • ddm_variability (xarray dataset) – Results of function ‘variationInDDMMatrix’ in ‘ddm_analysis_and_fitting’ code

  • number_of_frames (int) – Number of frames of movie analyzed

  • q_index (int) – Index of the wavenumber array

Returns

twotimecorrelation – Two time correlation function

Return type

array