finesse.solutions.beamtrace.PropagationSolution.abcd

PropagationSolution.abcd(up_to=None)[source]

Composite ABCD matrix up to a specific point in the path.

Parameters
up_toOpticalNode or Port, str, optional

The location in the path at which to get the composite ABCD matrix. This can be an optical node or a port. When None it will be the to_node of the propgagtion.

Returns
Mnumpy.ndarray

The ABCD matrix, as a NumPy array, computed up to the specified location.

Raises
keKeyError

If up_to is a node or port which does not exist within the solution.

teTypeError

If up_to is not an OpticalNode or Port.