src/utilities.py
def kin_energy(vel, mass, n_dim):
	"""
	kin_energy(vel)

	Returns kinetic energy of simulation in reduced units
	"""

	return 0.5 * np.sum(mass * vel**2)

	kin_energy(vel)

	Returns kinetic energy of simulation in reduced units
	
kin_energy(vel)
Returns kinetic energy of simulation in reduced units
kin_energy ( vel ) Returns kinetic energy of simulation in reduced units
def kin_energy(vel, mass, n_dim):
	return 0.5 * np.sum(mass * vel**2)
def kin_energy ( vel , mass , n_dim ) : return 0.5 * np . sum ( mass * vel ** 2 )
kin_energy(vel)
Returns kinetic energy of simulation in reduced units
kin_energy ( vel ) Returns kinetic energy of simulation in reduced units
"""
	kin_energy(vel)

	Returns kinetic energy of simulation in reduced units
	"""
vel
mass
n_dim