Reference

Here you can find the documentation on the functions and classes of the Reactions package.

Functions

is_element(obj)

Check if an object is of element type

node_type(n)

Get the node type as a string (decay, reaction or element)

Classes

node

Base class for a node in a reaction/decay chain

reaction

Reaction involving several elements of the same type

decay

Decay involving several elements of the same type

string_element

Represent an element based on a string

nubase_element

Represent an element of the NuBase database.

pdg_element

Represent an element of the PDG database.

nubase_database_sgl

Object to serve as an interface with the NuBase database.

nubase_system_of_units_sgl

Object to serve as an interface with the NuBase system of units.

pdg_database_sgl

Object to serve as an interface with the PDG database.

pdg_system_of_units_sgl

Object to serve as an interface with the PDG system of units.

DatabaseError

LookupError

SyntaxError

InternalError

ValueError

Variables

nubase_database

Object to serve as an interface with the NuBase database.

nubase_system_of_units

Object to serve as an interface with the NuBase system of units.

pdg_database

Object to serve as an interface with the PDG database.

pdg_system_of_units

Object to serve as an interface with the PDG system of units.

Class Inheritance Diagram

Inheritance diagram of reactions.node, reactions.reaction, reactions.decay, reactions.string_element, reactions.nubase_element, reactions.pdg_element, reactions.nubase_database_sgl, reactions.nubase_system_of_units_sgl, reactions.pdg_database_sgl, reactions.pdg_system_of_units_sgl, reactions.DatabaseError, reactions.LookupError, reactions.SyntaxError, reactions.InternalError, reactions.ValueError