finesse.simulations.graph.tools.get_all_optical_equations

finesse.simulations.graph.tools.get_all_optical_equations(elements: Iterable[Connector]) dict[source]

Get all optical equations from a list of elements.

Parameters
elementsIterable[Connector]

A list of Connector objects representing the elements.

Returns
dict

A dictionary containing all the optical equations, where the keys are the equations’ names and the values are the equations themselves.