def _read_isotopedatabase(self, ffname='<STR_LIT>'):
name=self.sldir+ffname<EOL>z_db, a_db, el_db, stable_a_db,logic_db=np.loadtxt(name,unpack=True,dtype='<STR_LIT:str>')<EOL>z_db=np.array(z_db,dtype='<STR_LIT:int>')<EOL>a_db=np.array(a_db,dtype='<STR_LIT:int>')<EOL>stable_a_db=np.array(stable_a_db,dtype='<STR_LIT:int>')<EOL>charge_from_element_name={}<EOL>for name in self.stable_names:<EOL><INDENT>if name=='<STR_LIT>' or name=='<STR_LIT>' or name=='<STR_LIT>' or name=='<STR_LIT>':<EOL><INDENT>name='<STR_LIT>'<EOL><DEDENT>try:<EOL><INDENT>zz=z_db[np.where(el_db==name)][<NUM_LIT:0>]<EOL>charge_from_element_name[name]=zz<EOL><DEDENT>except IndexError:<EOL><INDENT>print(name+"<STR_LIT>")<EOL><DEDENT><DEDENT>return z_db, a_db, el_db, stable_a_db,logic_db,charge_from_element_name<EOL>
This private method reads the isotopedatabase.txt file in sldir
run dictory and returns z, a, elements, the cutoff mass for each
species that delineate beta+ and beta- decay and the logical in
the last column. Also provides charge_from_element dictionary
according to isotopedatabase.txt.