finesse.simulations.graph.tools.make_symbolic_optical_operators
- finesse.simulations.graph.tools.make_symbolic_optical_operators(graph: OperatorGraph, optical_equations: dict, include_edges: Iterable[tuple[int, int]] = None) dict [source]
Calculate symbolic optical operators for a given graph and optical equations.
- Parameters:
- graphOperatorGraph
The graph representing the optical system.
- optical_equationsdict
A dictionary mapping operator names to their corresponding optical equations.
- include_edgesIterable[tuple[int, int]], optional
The edges for which to calculate the operators. If not provided, all edges in the graph will be used.
- Returns:
- dict
A dictionary mapping edge tuples to their corresponding symbolic operators.