def cut_mechanisms(self):
        """The mechanisms of this system that are currently cut.

        Note that although ``cut_indices`` returns micro indices, this
        returns macro mechanisms.

        Yields:
            tuple[int]
        """
        for mechanism in utils.powerset(self.node_indices, nonempty=True):
            micro_mechanism = self.macro2micro(mechanism)
            if self.cut.splits_mechanism(micro_mechanism):
                yield mechanism
def cut_mechanisms ( self ) : for mechanism in utils . powerset ( self . node_indices , nonempty = True ) : micro_mechanism = self . macro2micro ( mechanism ) if self . cut . splits_mechanism ( micro_mechanism ) : yield mechanism
The mechanisms of this system that are currently cut.

        Note that although ``cut_indices`` returns micro indices, this
        returns macro mechanisms.

        Yields:
            tuple[int]