sarkas.tools.observables.grad_expansion#

sarkas.tools.observables.grad_expansion(x, rms, h_coeff)[source]#

Calculate the Grad expansion as given by eq.(5.97) in Liboff

Parameters
  • x (numpy.ndarray) – Array of the scaled velocities

  • rms (float) – RMS width of the Gaussian.

  • h_coeff (numpy.ndarray) – Hermite coefficients without the division by factorial.

Returns

_ (numpy.ndarray) – Grad expansion.