https://doi.org/10.1140/epje/s10189-021-00146-2
Tips and Tricks - Flowing Matter
The modern structurator: increased performance for calculating the structure function
1
E2S UPPA, CNRS, TOTAL, LFCR UMR5150, Universite de Pau et des Pays de l’Adour, Anglet, France
2
Institut für Experimentalphysik, Universität Innsbruck, Technikerstrasse 25, 6020, Innsbruck, Austria
3
Institut des Sciences de la Terre d’Orléans, CNRS, Université Orléans, 1A rue de la Férollerie, 45071, Orléans, France
c
giovanni.cerchiari@uibk.ac.at
Received:
29
January
2021
Accepted:
31
October
2021
Published online:
2
December
2021
The autocorrelation function is a statistical tool that is often combined with dynamic light scattering (DLS) techniques to investigate the dynamical behavior of the scattered light fluctuations in order to measure, for example, the diffusive behavior of transparent particles dispersed in a fluid. An alternative approach to the autocorrelation function for the analysis of DLS data has been proposed decades ago and consists of calculating the autocorrelation function starting from difference of the signal at different times by using the so-called structure function. The structure function approach has been proven to be more robust than the autocorrelation function method in terms of noise and drift rejection. Therefore, the structure function analysis has gained visibility, in particular in combination with imaging techniques such as dynamic shadowgraphy and differential dynamic microscopy. Here, we show how the calculation of the structure function over thousands of images, typical of such techniques, can be accelerated, with the aim of achieving real-time analysis. The acceleration is realized by taking advantage of the Wiener–Khinchin theorem, i.e., by calculating the difference of images through Fourier transform in time. The new algorithm was tested both on CPU and GPU hardware, showing that the acceleration is particularly large in the case of CPU.
© The Author(s) 2021
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.