def isoratio_init(self,isos):
if len(isos) == <NUM_LIT:2>:<EOL><INDENT>dumb = []<EOL>dumb = isos[<NUM_LIT:0>].split('<STR_LIT:->')<EOL>dumb.append(isos[<NUM_LIT:1>].split('<STR_LIT:->')[<NUM_LIT:0>])<EOL>dumb.append(isos[<NUM_LIT:1>].split('<STR_LIT:->')[<NUM_LIT:1>])<EOL>isos = dumb<EOL><DEDENT>ssratio = old_div(self.habu[isos[<NUM_LIT:0>].ljust(<NUM_LIT:2>).lower() + str(int(isos[<NUM_LIT:1>])).rjust(<NUM_LIT:3>)], self.habu[isos[<NUM_LIT:2>].ljust(<NUM_LIT:2>).lower() + str(int(isos[<NUM_LIT:3>])).rjust(<NUM_LIT:3>)])<EOL>return ssratio<EOL>
This file returns the isotopic ratio of two isotopes specified
as iso1 and iso2. The isotopes are given as, e.g.,
['Fe',56,'Fe',58] or ['Fe-56','Fe-58'] (for compatibility)
-> list.