corrLib¶
Autocorrelation functions
|
Compute pixel intensity spatial autocorrelation of an image. |
|
Compute the spatial autocorrelations of a velocity field. |
|
Convert 2d correlation matrix into 1d. |
|
Compute the temporal autocorrelation of a 1-D signal. |
|
Compute averaged vacf from PIV data. |
Density fluctuations
|
This is the first attempt to calculate density fluctuations in bacterial suspensions. |
|
This is used for small scale test of temporal variation based density fluctuation analysis. |
|
Compute number fluctuations of an image stack (3D np.array, frame*h*w) |
|
Used for small scale test of gnf analysis. |
|
Compute local density fluctuations of given image sequence in img_folder |
Energy spectra
|
Compute kinetic energy density in k space from piv data. |
|
Compute the wave number field Kx and Ky, and magnitude field k. |
|
Compute energy spectrum (E vs k) from pivData. |
Flow field analysis
|
Compute multiple divergence fields from PIV data and microscopy image. |
|
Compute divergence field based on piv data (x, y, u, v) |
|
Compute vorticity field based on piv data (x, y, u, v) |
|
Compute convection term u.grad(c) based on piv data (x, y, u, v) and image. |
Misc
|
Divide an image into windows with specified size and step. |
|
Divide image stack into several evenly spaced windows of stack. |