finesse.tracing.forest.TraceForest.find_dependency_from_node¶
- TraceForest.find_dependency_from_node(self, node, bool raise_not_found=True)¶
- Finds the dependency object associated with the optical node. - If no tree is found associated with this node, and raise_not_found is true, then a - RuntimeErroris raised. Otherwise None is returned.- Parameters:
- nodeOpticalNode
- An optical node. 
- raise_not_foundbool, optional; default: True
- Raises a RuntimeError if no dependency found. Returns None if False. 
 
- node