finesse.tracing.tree.TraceTree.trim_at_nodes

TraceTree.trim_at_nodes(self, nodes, bool include_opposite=False)

Trims branches from the tree starting at any optical node in nodes.