finesse.solutions.beamtrace.ABCDSolution

Overview

class finesse.solutions.beamtrace.ABCDSolution(name, M, direction, symbolic)[source]

Bases: BaseSolution

Solution for a composite ABCD calculation.

Parameters
Marray-like or two-element tuple of array-like

The ABCD matrix / matrices.

directionstr

Direction / plane of computation.

"both" indicates that M is a tuple of the ABCD matrices computed over both the tangential and sagittal planes.

"x" implies M is the ABCD matrix computed over the tangential plane.

"y" implies M is the ABCD matrix computed over the sagittal plane.

symbolicbool

Flag indicating whether the calculations are symbolic.

Properties

ABCDSolution.M

A copy of the underlying ABCD matrix as a numpy.ndarray.

ABCDSolution.direction

The plane in which this ABCD matrix was computed - 'x' for tangential, 'y' for sagittal.

ABCDSolution.symbolic

Indicates whether this ABCD solution is symbolic.

Methods

ABCDSolution.__init__(name, M, direction, ...)

ABCDSolution.eval()

Evaluate the symbolic ABCD matrix.