particle.no: Particle indexing convention

Description Details See Also

Description

The particle indexing system in libamtrack works as follows: for a particle with atomic number Z and mass number A the index is particle.no = 1000 * Z + A. This ensures uniqueness for all particle types used in libamtrack. Also, an extension to anti-protons or ions could be made using negative numbers.

Details

See Also

You can use AT.particle.name.from.particle.no and AT.particle.no.from.particle.name to convert particle names into particle indices and vice versa.


libamtrack documentation built on May 2, 2019, 4:55 p.m.