sarkas.tools.observables.VelocityAutoCorrelationFunction.calculate_vacf
sarkas.tools.observables.VelocityAutoCorrelationFunction.calculate_vacf#
- VelocityAutoCorrelationFunction.calculate_vacf(vel)[source]#
Calculate the velocity autocorrelation function of each species and in each direction.
- Parameters
vel (numpy.ndarray) – Particles’ velocities stored in a 3D array with shape = (D x Np x Nt). D = cartesian dimensions, Np = Number of particles, Nt = number of dumps.
- Returns
vacf (numpy.ndarray) – Velocity autocorrelation functions. Shape= (No_species, D + 1, Nt)