Reaction Names

Download the full notebook.

Reaction Names

This demonstrates how the rxname module may be used to find and manipulate the PyNE cannonical reaction names.

In [1]:
from pyne.rxname import *
In [2]:
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

In [3]:
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

In [4]:
print label('p')
print doc('p')
(z,p)
(z,p) Production of p

Where possible, MT numbers may be looked up.

In [5]:
print mt('elastic')
print mt('p')
2
103

Finally, nuclides themselves may also be used to look up reactions.

In [6]:
print name("U235", "U236")
print name("U235", "Np236", "p")
print name(922350, 912350)
absorption
absorption
p

Previous topic

Origen 2.2: H1 Cross Section

Next topic

User’s Guide

This Page