finesse.graph.operator_graph.OperatorGraph.get_edge_operator_expression

OperatorGraph.get_edge_operator_expression(self, from_node, to_node)

Retrieves the operator expression associated with an edge between two nodes.

Parameters
from_nodeNode

The source node of the edge.

to_nodeNode

The target node of the edge.

Returns
list

A list representation of the operator expression.

Raises
Exception

If the connection between the nodes does not exist in the graph.

Exception

If there is no linear operator at the edge.

Exception

If there is no expression at the edge.