PyDDM.ddm_calc.window_function

PyDDM.ddm_calc.window_function

window_function(im)

Applies windowing function to images.

Particles moving outside the frame of the images can lead to artifacts in the DDM analysis, especially for the higher wavevectors. Use of windowing function described in Giavazzi 2017 1. We apply the Blackman-Harris windowing. This function creates a mask to multiply the images by to implement the windowing.

Parameters

im (array) – Array of same size as one frame of the image sequences for analysis.

Returns

filter_func – Multiply this array (of same size as im) to apply the windowing filter.

Return type

array

References

1

Giavazzi, F., Edera, P., Lu, P. J. & Cerbino, R. Image windowing mitigates edge effects in Differential Dynamic Microscopy. Eur. Phys. J. E 40, 97 (2017).