The TraceTree data structure and associated algorithms.

Details on each class, method and function in this sub-module are provided mostly for developers. Users should refer to Tracing the beam for details on beam tracing, Model.beam_trace() for the main method through which beam traces can be performed on a model and for the various beam propagation tools which the beam tracing library provides.


TraceTree(node, dependency)

A binary tree data structure representing all the beam tracing paths from some root optical node of a model.