nuclearmasses.io.nubase_parseΒΆ

The nubase_parse module defines the NUBASEParser class. This class contains the logic required to sort and organise the inputs to pandas.read_fwf() dependent on the year of the file. Once parsed, known typos and inconsistencies are cleaned from the resultant dataframe.

Classes

NUBASEParser(filename, year)

Parse the NUBASE file, doing the necessary preparations and clean up of data.