System4f.principalPlanePositions
- raytracing.System4f.principalPlanePositions(self, z)
Positions of the input and output principal planes.
- Parameters:
z (float) – Position from where the positions are calculated
- Returns:
principalPlanePositions – An array of front principal plane position and the back principal plane position.
- Return type:
array
Examples
>>> from raytracing import * >>> # M1 is an ABCD matrix of a lens (f=5) >>> M1= Matrix(A=1,B=0,C=-1/5,D=1,physicalLength=3,frontVertex=-1,backVertex=5,label='Lens') >>> Position0=M1.principalPlanePositions(z=0) >>> print('PP positions (F,B):' , Position0) PP positions (F,B): PrincipalPlanes(z1=0.0, z2=3.0)