finesse.solutions.beamtrace.PropagationSolution.abcd¶
- PropagationSolution.abcd(up_to=None)[source]¶
Composite ABCD matrix up to a specific point in the path.
- Parameters:
- up_to
OpticalNode
orPort
, 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.
- up_to
- Returns:
- M
numpy.ndarray
The ABCD matrix, as a NumPy array, computed up to the specified location.
- M
- 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
orPort
.