amep.thermo.Tkin#

amep.thermo.Tkin(v: ndarray, m: float | ndarray, d: int = 2)#

Kinetic temperature based on the second moment of the velocity distribution and averaged over all particles. [1]

References

Parameters:
  • v (np.ndarray of shape (N,3)) – Velocities.

  • m (float | np.ndarray) – Mass(es).

  • d (int, optional) – Spatial dimension. The default is 2.

Returns:

Mean kinetic temperature.

Return type:

float