This demonstrates how the rxname module may be used to find and manipulate the PyNE cannonical reaction names.
from pyne.rxname import *
print(name("total")) print(name(103)) # MT number for proton production print(name("abs")) # an abbreviation for absorption
total p absorption
Each reaction name has a unique id number
print(id("total")) print(id(103)) # MT number for proton print(id("abs")) # an abbreviation
1313192322 1104 3163131457
Each reaction also has labels and documentation strings
(z,p) (z,p) Production of p
Where possible, MT numbers may be looked up.
Finally, nuclides themselves may also be used to look up reactions.
print(name("U235", "U236")) print(name("U235", "Np236", "p")) print(name(922350, 912350))
absorption absorption p