pynucastro.nucdata.mass_table module#
- class pynucastro.nucdata.mass_table.MassTable(filename=None)[source]#
Bases:
object
The purpose of this class is to:
Create a dictionary mapping nuclides to their mass excess A_nuc - A measured in MeV from the table mass_excess2020.txt.
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.