def __init__(self):
self.masses = {}<EOL>def add_mass(N, Z, mass):<EOL><INDENT>"""<STR_LIT>"""<EOL>n_masses = self.masses.setdefault(Z, {})<EOL>n_masses[Z+N] = mass<EOL><DEDENT>with pkg_resources.resource_stream(__name__, '<STR_LIT>') as f:<EOL><INDENT>for i in range(<NUM_LIT>):<EOL><INDENT>next(f)<EOL><DEDENT>for line in f:<EOL><INDENT>N = int(line[ <NUM_LIT:5>:<NUM_LIT:10>])<EOL>Z = int(line[<NUM_LIT:10>:<NUM_LIT:15>])<EOL>mass = float(line[<NUM_LIT>:<NUM_LIT>].replace(b"<STR_LIT:U+0020>", b"<STR_LIT>").replace(b"<STR_LIT:#>", b"<STR_LIT>"))*<NUM_LIT>*amu<EOL>add_mass(N, Z, mass)<EOL><DEDENT><DEDENT>
An object of this type is created in this module, so there is not
need to construct it manually.