striplog/striplog.py
def unique(self):
        """
        Property. Summarize a Striplog with some statistics.

        Returns:
            List. A list of (Component, total thickness thickness) tuples.
        """
        all_rx = set([iv.primary for iv in self])
        table = {r: 0 for r in all_rx}
        for iv in self:
            table[iv.primary] += iv.thickness

        return sorted(table.items(), key=operator.itemgetter(1), reverse=True)
def unique(self):
        all_rx = set([iv.primary for iv in self])
        table = {r: 0 for r in all_rx}
        for iv in self:
            table[iv.primary] += iv.thickness

        return sorted(table.items(), key=operator.itemgetter(1), reverse=True)
def unique ( self ) : all_rx = set ( [ iv . primary for iv in self ] ) table = { r : 0 for r in all_rx } for iv in self : table [ iv . primary ] += iv . thickness return sorted ( table . items ( ) , key = operator . itemgetter ( 1 ) , reverse = True )
Property. Summarize a Striplog with some statistics.

        Returns:
            List. A list of (Component, total thickness thickness) tuples.
Property . Summarize a Striplog with some statistics .