pynucastro.nucdata.mass_table module

pynucastro.nucdata.mass_table module#

class pynucastro.nucdata.mass_table.MassTable(filename=None)[source]#

Bases: object

The purpose of this class is to:

  1. Create a dictionary mapping nuclides to their mass excess A_nuc - A measured in MeV from the table mass_excess2020.txt.

  2. Parse the information of the previously defined dictionary to the Nucleus class.

The only required variable to construct an instance of this class is : var filename: that contains the .txt table file with the nuclei and their mass excess. If this variable is not provided, then mass_excess2020.txt is considered by default.

get_mass_diff(a, z)[source]#