latools/D_obj.py
def ratio(self, internal_standard=None):
        """
        Divide all analytes by a specified internal_standard analyte.

        Parameters
        ----------
        internal_standard : str
            The analyte used as the internal_standard.

        Returns
        -------
        None
        """
        if internal_standard is not None:
            self.internal_standard = internal_standard

        self.data['ratios'] = Bunch()
        for a in self.analytes:
            self.data['ratios'][a] = (self.data['bkgsub'][a] /
                                      self.data['bkgsub'][self.internal_standard])
        self.setfocus('ratios')
        return
def ratio(self, internal_standard=None):
        """
        Divide all analytes by a specified internal_standard analyte.

        Parameters
        ----------
        internal_standard : str
            The analyte used as the internal_standard.

        Returns
        -------
        None
        """
        if internal_standard is not None:
            self.internal_standard = internal_standard

        self.data['ratios'] = Bunch()
        for a in self.analytes:
            self.data['ratios'][a] = (self.data['bkgsub'][a] /
                                      self.data['bkgsub'][self.internal_standard])
        self.setfocus('ratios')
        return
Divide all analytes by a specified internal_standard analyte.

        Parameters
        ----------
        internal_standard : str
            The analyte used as the internal_standard.

        Returns
        -------
        None