finesse.solutions.beamtrace.PropagationSolution.abcd

PropagationSolution.abcd(up_to)[source]

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

Parameters

up_to : OpticalNode or Port

The location in the path at which to get the composite ABCD matrix. This can be an optical node or a port.

Returns

M : numpy.ndarray

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

Raises

ke : KeyError

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

te : TypeError

If up_to is not an OpticalNode or Port.