feynml.particles.get_name

feynml.particles.get_name(pid: int) str[source]

Get the latex name of a particle.

Parameters:

pid (int) – PDG Monte Carlo identifier for the particle.

Returns:

Latex name.

Return type:

str

Examples

>>> get_name(21)
'g'
>>> get_name(1000022)
'\\tilde{\\chi}_{1}^{0}'