@staticmethod
def _combine_leg_labels(labels):
    """Generate label for legs combined in a :class:`LegPipe`.

        Examples
        --------
        >>> self._combine_leg_labels(['a', 'b', '(c.d)'])
        '(a.b.(c.d))'
        """
    return '(' + '.'.join(labels) + ')'
