def __init__(self):
self.abundances = {}<EOL>def add_abundance(A, Z, abundance):<EOL><INDENT>"""<STR_LIT>"""<EOL>n_abundances = self.abundances.setdefault(Z, {})<EOL>n_abundances[A] = abundance<EOL><DEDENT>with pkg_resources.resource_stream(__name__, '<STR_LIT>') as f:<EOL><INDENT>for line in f:<EOL><INDENT>Z = int(line[<NUM_LIT:0>:<NUM_LIT:3>])<EOL>A = int(line[<NUM_LIT:4>:<NUM_LIT:7>])<EOL>properties = dict(word.split(b"<STR_LIT:=>") for word in line[<NUM_LIT>:].split(b"<STR_LIT:;>") if word.count(b"<STR_LIT:=>")==<NUM_LIT:1>)<EOL>abundance = properties.get(b'<STR_LIT>')<EOL>if abundance is None: continue<EOL>abundance = float(abundance.split()[<NUM_LIT:0>])<EOL>add_abundance(A, Z, abundance)<EOL><DEDENT><DEDENT>
Argument:
 | ``filename``  --  the nubtab03 data file

An object of this type is created in this module, so there is not
need to construct it externally.