@_log<EOL><INDENT>def ratio(self, internal_standard=None):<DEDENT>
if '<STR_LIT>' not in self.stages_complete:<EOL><INDENT>raise RuntimeError('<STR_LIT>')<EOL><DEDENT>if internal_standard is not None:<EOL><INDENT>self.internal_standard = internal_standard<EOL>self.minimal_analytes.update([internal_standard])<EOL><DEDENT>with self.pbar.set(total=len(self.data), desc='<STR_LIT>') as prog:<EOL><INDENT>for s in self.data.values():<EOL><INDENT>s.ratio(internal_standard=self.internal_standard)<EOL>prog.update()<EOL><DEDENT><DEDENT>self.stages_complete.update(['<STR_LIT>'])<EOL>self.focus_stage = '<STR_LIT>'<EOL>return<EOL>
Calculates the ratio of all analytes to a single analyte.

Parameters
----------
internal_standard : str
    The name of the analyte to divide all other analytes
    by.

Returns
-------
None