finesse.tracing.tree.TraceTree.from_path¶
- static TraceTree.from_path(list path)¶
Construct a TraceTree from a list of optical nodes.
The resulting tree decays to a linked list as the path is 1D - no branches will occur.
- Parameters:
- pathlist
A list of optical nodes representing the node path. This can be obtained from a
OpticalPath
instance by invokingOpticalPath.nodes_only
.
- Returns:
- tree
TraceTree
The tree representing the node path.
- tree