AC254_045_A.transferMatrices
- raytracing.thorlabs.AC254_045_A.transferMatrices(self)
The list of Matrix() that corresponds to the propagation through this element (or group). For a Matrix(), it simply returns a list with a single element [self]. For a MatrixGroup(), it returns the transferMatrices for each individual element and appends them to a list for this group.
- Returns:
transferMatrices – The transfer matrix for each element in the matrix group
- Return type:
List of matrices
Examples
>>> from raytracing import * >>> # define the elements in the optical path >>> Spc1=Space(d=10,label='Space1') # space d=10 >>> Lens1=Lens(f=10,label='Lens1') # lens f=10 >>> matGrp=MatrixGroup(elements=[Spc1,Lens1]) # make a matrix group of the created elements >>> # print to see the transfer matrices of the space and the lens >>> print(matGrp.transferMatrices()[0]) | 1.000 10.000 | | | | 0.000 1.000 | f = +inf (afocal) >>> print(matGrp.transferMatrices()[1]) | 1.000 0.000 | | | | -0.100 1.000 | f=10.000