pynucastro.nucdata.mass_table module

pynucastro.nucdata.mass_table module#

Classes and methods that provide access to the AME mass excess data.

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

Bases: object

Store the nuclear masses as a dictionary mapping nuclides to their mass excess (A_nuc - A measured) in MeV from the table mass_excess2020.txt.

Parameters:

filename (str, pathlib.Path) – The name of the file containing nuclei and mass excesses (mass_excess2020.txt is used by default).

get_mass_diff(a, z)[source]#

Return the mass excess for a nucleus

Parameters:
  • a (int) – Atomic weight

  • z (int) – Atomic number

Return type:

float