Nucleitools¶
Module to convert paticle ID, charge and mass number of particles in all ways.
Tools for calculating nuclei properties
-
class
nucleitools.
Charge2Mass
(charge)[source]¶ Bases:
object
Convert the charge of a cosmic ray to it’s mass by different assumptions
-
class
nucleitools.
Mass2Charge
(mass)[source]¶ Bases:
object
Convert the mass of a cosmic ray to it’s charge by different assumptions
-
nucleitools.
id2a
(pid)[source]¶ Given a nucleus ID (2006 PDG standard), returns the mass number.
- Parameters
pid – nucleus ID
- Returns
mass number
-
nucleitools.
id2z
(pid)[source]¶ Given a nucleus ID (2006 PDG standard), returns the charge number.
- Parameters
pid – nucleus ID
- Returns
charge number