In [1]:
%pylab inline
import warnings
import numpy as np
import matplotlib.pyplot as plt
import rayopt as ro
warnings.simplefilter("ignore", FutureWarning)
np.seterr(divide="ignore", invalid="ignore")
np.set_printoptions(precision=4)
description = "US 2018-0136444 Example 1 (AF-S Nikkor 24-70mm f/2.8E ED VR)"
columns = "type distance roc diameter material"
# number of surfaces = 40
lensdata = """
O 0.0 0.0 84.318 AIR
S 20 121.85638 64.86 1.74389/49.5
S 2.9 29.6367 51.54 AIR
S 15.36 -197.50816 51.54 1.56093/36.6
S 0.2 -169.39125 51.54 1.804/46.6
S 2.1 60.51496 51.54 AIR
S 0.15 52.85097 51.52 2.001/29.1
S 5.6 146.47986 51.52 AIR
S 48.945 148.41161 35.35 1.59349/67
S 3 -517.10678 35.35 AIR
S 0.1 49.87002 37.51 1.59349/67
S 3.5 157.3519 37.51 AIR
S 4.762 87.49334 38.46 1.59349/67
S 4.8 -132.224 38.46 1.90366/31.3
S 1.5 45.76622 36.11 AIR
S 1.64 78.93526 36.11 1.7725/49.6
S 4.45 -176.75459 37.46 AIR
S 7.735 57.14809 39.5 1.816/46.6
S 5.3 -583.40702 39.5 AIR
A 3.002 0 18.937 AIR
S 2.088 -141.85186 24.4 1.804/46.6
S 1.2 33.20059 23.71 AIR
S 4.36 -33.72704 23.71 1.603/65.4
S 1.2 -60.0953 24.92 AIR
S 0.1 65.48868 25.94 1.84666/23.8
S 3.15 -127.25009 25.94 AIR
S 1.25 -119.24441 26.2 1.59349/67
S 1.1 67.70394 26.2 AIR
S 1.15 62.368 26.7 1.80518/25.5
S 2.1 107.42 26.7 AIR
S 17.692 119.87584 32.86 1.55332/71.7
S 4.7 -115.00129 32.86 AIR
S 0.1 71.95116 33.62 1.83481/42.7
S 1.4 38.488 33.62 1.59319/67.9
S 6.8 -237.01429 33.62 AIR
S 0.28 43.00799 34.14 1.49782/82.6
S 9.5 -42.999 33.1 1.80518/25.5
S 1.4 98.941 33.1 1.6935/53.3
S 4.6 462.40647 33.1 AIR
I 41.035 0 43.2 AIR
"""
s = ro.system_from_text(lensdata, columns.split(),
    description=description)
s.fields = 0, .7, 1.
s.object.angle = np.deg2rad(42.500000)
s[2].conic = -1
s[2].aspherics = [0, 2.2151e-06, 2.5769e-09, -6.015e-12, 1.092e-14, -7.29e-18, 0]
s[3].conic = 0
s[3].aspherics = [0, -3.8343e-07, 7.9334e-10, -3.5363e-12, 5.0812e-15, -3.4337e-18, 0]
s[30].conic = 0
s[30].aspherics = [0, 4.8089e-06, 5.0698e-10, -2.7314e-12, -7.7815e-16, 0, 0]
s[38].conic = 0
s[38].aspherics = [0, 7.5654e-06, -9.886e-10, 5.6174e-12, -8.0775e-15, 0, 0]
s.update()
print(s)
ro.Analysis(s)
Populating the interactive namespace from numpy and matplotlib
System: US 2018-0136444 Example 1 (AF-S Nikkor 24-70mm f/2.8E ED VR)
Scale: 1.0 mm
Wavelengths: 588, 656, 486 nm
Fields: 0, 0.7, 1
Object:
 Semi-Angle: 42.5 deg
 Pupil:
   Pupil Distance: 54.7782
   Refractive Index: 1.00028
   Update Radius: True
   Radius: 4.29057
Image:
 Radius: 21.6
 Update Radius: True
 Pupil:
   Pupil Distance: -147.129
   Refractive Index: 1.00028
   Update Radius: True
   Radius: 25.4323
Stop: 19
Elements:
 # T   Distance   Rad Curv   Diameter          Material       n      nd      Vd
 0 S          0        inf     84.318         basic/air   1.000   1.000   89.30
 1 S         20      121.9      64.86                 -   1.744   1.744   49.50
 2 S        2.9      29.64      51.54         basic/air   1.000   1.000   89.30
 3 S      15.36     -197.5      51.54                 -   1.561   1.561   36.60
 4 S        0.2     -169.4      51.54                 -   1.804   1.804   46.60
 5 S        2.1      60.51      51.54         basic/air   1.000   1.000   89.30
 6 S       0.15      52.85      51.52                 -   2.001   2.001   29.10
 7 S        5.6      146.5      51.52         basic/air   1.000   1.000   89.30
 8 S     48.945      148.4      35.35                 -   1.593   1.593   67.00
 9 S          3     -517.1      35.35         basic/air   1.000   1.000   89.30
10 S        0.1      49.87      37.51                 -   1.593   1.593   67.00
11 S        3.5      157.4      37.51         basic/air   1.000   1.000   89.30
12 S      4.762      87.49      38.46                 -   1.593   1.593   67.00
13 S        4.8     -132.2      38.46                 -   1.904   1.904   31.30
14 S        1.5      45.77      36.11         basic/air   1.000   1.000   89.30
15 S       1.64      78.94      36.11                 -   1.772   1.772   49.60
16 S       4.45     -176.8      37.46         basic/air   1.000   1.000   89.30
17 S      7.735      57.15       39.5                 -   1.816   1.816   46.60
18 S        5.3     -583.4       39.5         basic/air   1.000   1.000   89.30
19 S      3.002        inf     18.937         basic/air   1.000   1.000   89.30
20 S      2.088     -141.9       24.4                 -   1.804   1.804   46.60
21 S        1.2       33.2      23.71         basic/air   1.000   1.000   89.30
22 S       4.36     -33.73      23.71                 -   1.603   1.603   65.40
23 S        1.2      -60.1      24.92         basic/air   1.000   1.000   89.30
24 S        0.1      65.49      25.94                 -   1.847   1.847   23.80
25 S       3.15     -127.3      25.94         basic/air   1.000   1.000   89.30
26 S       1.25     -119.2       26.2                 -   1.593   1.593   67.00
27 S        1.1       67.7       26.2         basic/air   1.000   1.000   89.30
28 S       1.15      62.37       26.7                 -   1.805   1.805   25.50
29 S        2.1      107.4       26.7         basic/air   1.000   1.000   89.30
30 S     17.692      119.9      32.86                 -   1.553   1.553   71.70
31 S        4.7       -115      32.86         basic/air   1.000   1.000   89.30
32 S        0.1      71.95      33.62                 -   1.835   1.835   42.70
33 S        1.4      38.49      33.62                 -   1.593   1.593   67.90
34 S        6.8       -237      33.62         basic/air   1.000   1.000   89.30
35 S       0.28      43.01      34.14                 -   1.498   1.498   82.60
36 S        9.5        -43       33.1                 -   1.805   1.805   25.50
37 S        1.4      98.94       33.1                 -   1.694   1.694   53.30
38 S        4.6      462.4       33.1         basic/air   1.000   1.000   89.30
39 S     41.035        inf       43.2         basic/air   1.000   1.000   89.30

System: US 2018-0136444 Example 1 (AF-S Nikkor 24-70mm f/2.8E ED VR)
Scale: 1.0 mm
Wavelengths: 588, 656, 486 nm
Fields: 0, 0.7, 1
Object:
 Semi-Angle: 42.5 deg
 Pupil:
   Pupil Distance: 54.7782
   Refractive Index: 1.00028
   Update Radius: True
   Radius: 4.29057
Image:
 Radius: 21.6
 Update Radius: True
 Pupil:
   Pupil Distance: -147.129
   Refractive Index: 1.00028
   Update Radius: True
   Radius: 25.4323
Stop: 19
Elements:
 # T   Distance   Rad Curv   Diameter          Material       n      nd      Vd
 0 S          0        inf     84.318         basic/air   1.000   1.000   89.30
 1 S         20      121.9      64.86                 -   1.744   1.744   49.50
 2 S        2.9      29.64      51.54         basic/air   1.000   1.000   89.30
 3 S      15.36     -197.5      51.54                 -   1.561   1.561   36.60
 4 S        0.2     -169.4      51.54                 -   1.804   1.804   46.60
 5 S        2.1      60.51      51.54         basic/air   1.000   1.000   89.30
 6 S       0.15      52.85      51.52                 -   2.001   2.001   29.10
 7 S        5.6      146.5      51.52         basic/air   1.000   1.000   89.30
 8 S     48.945      148.4      35.35                 -   1.593   1.593   67.00
 9 S          3     -517.1      35.35         basic/air   1.000   1.000   89.30
10 S        0.1      49.87      37.51                 -   1.593   1.593   67.00
11 S        3.5      157.4      37.51         basic/air   1.000   1.000   89.30
12 S      4.762      87.49      38.46                 -   1.593   1.593   67.00
13 S        4.8     -132.2      38.46                 -   1.904   1.904   31.30
14 S        1.5      45.77      36.11         basic/air   1.000   1.000   89.30
15 S       1.64      78.94      36.11                 -   1.772   1.772   49.60
16 S       4.45     -176.8      37.46         basic/air   1.000   1.000   89.30
17 S      7.735      57.15       39.5                 -   1.816   1.816   46.60
18 S        5.3     -583.4       39.5         basic/air   1.000   1.000   89.30
19 S      3.002        inf     18.937         basic/air   1.000   1.000   89.30
20 S      2.088     -141.9       24.4                 -   1.804   1.804   46.60
21 S        1.2       33.2      23.71         basic/air   1.000   1.000   89.30
22 S       4.36     -33.73      23.71                 -   1.603   1.603   65.40
23 S        1.2      -60.1      24.92         basic/air   1.000   1.000   89.30
24 S        0.1      65.49      25.94                 -   1.847   1.847   23.80
25 S       3.15     -127.3      25.94         basic/air   1.000   1.000   89.30
26 S       1.25     -119.2       26.2                 -   1.593   1.593   67.00
27 S        1.1       67.7       26.2         basic/air   1.000   1.000   89.30
28 S       1.15      62.37       26.7                 -   1.805   1.805   25.50
29 S        2.1      107.4       26.7         basic/air   1.000   1.000   89.30
30 S     17.692      119.9      32.86                 -   1.553   1.553   71.70
31 S        4.7       -115      32.86         basic/air   1.000   1.000   89.30
32 S        0.1      71.95      33.62                 -   1.835   1.835   42.70
33 S        1.4      38.49      33.62                 -   1.593   1.593   67.90
34 S        6.8       -237      33.62         basic/air   1.000   1.000   89.30
35 S       0.28      43.01      34.14                 -   1.498   1.498   82.60
36 S        9.5        -43       33.1                 -   1.805   1.805   25.50
37 S        1.4      98.94       33.1                 -   1.694   1.694   53.30
38 S        4.6      462.4       33.1         basic/air   1.000   1.000   89.30
39 S     41.098        inf       43.2         basic/air   1.000   1.000   89.30

lagrange: -4.7468
track length: 179.21
object, image height: [60.5859 27.453 ]
front, back focal length (from PP): [-24.8367  24.8367]
entry, exit pupil height: [ 4.2906 25.4323]
entry, exit pupil distance: [  34.7782 -106.0937]
front, back focal distance: [30.5796 41.1141]
front, back principal distance: [55.4163 16.2774]
front, back nodal distance: [55.4163 16.2774]
front, back numerical aperture: [0.     0.1703]
front, back f number: [2.8943 0.4883]
front, back working f number: [   inf 2.9372]
front, back airy radius: [   inf 0.0021]
transverse, angular magnification: [-0.      0.1687]

 # T      path         n   axial y  axial nu   chief y  chief nu
 0 S         0         1     4.291         0    -60.59     1.106
 1 S        20     1.744     4.291  -0.02618    -38.47     1.341
 2 S      22.9         1     4.247   0.08038    -36.24    0.4319
 3 S     38.26     1.561     5.481   0.09594     -29.6    0.3478
 4 S     38.46     1.804     5.494    0.1038    -29.56    0.3054
 5 S     40.56         1     5.614    0.1784     -29.2  -0.08243
 6 S     40.71     2.001     5.641   0.07157    -29.22    0.4708
 7 S     46.31         1     5.842    0.1115     -27.9    0.2802
 8 S     95.25     1.593      11.3   0.06633    -14.19    0.3369
 9 S     98.25         1     11.42   0.05323    -13.55    0.3524
10 S     98.35     1.593     11.43   -0.0827    -13.52    0.5133
11 S     101.9         1     11.25   -0.0403    -12.39    0.4665
12 S     106.6     1.593     11.05   -0.1152    -10.17    0.5355
13 S     111.4     1.904     10.71  -0.09013    -8.558    0.5154
14 S     112.9         1     10.64    0.1198    -8.152    0.3545
15 S     114.6     1.772     10.83   0.01383    -7.571    0.4286
16 S       119         1     10.87  -0.03364    -6.495    0.4569
17 S     126.7     1.816     10.61    -0.185    -2.962    0.4992
18 S       132         1     10.07   -0.1991    -1.505    0.5013
19 S       135         1     9.468   -0.1991 6.852e-15    0.5013
20 S     137.1     1.804     9.053   -0.1478     1.046    0.5073
21 S     138.3         1     8.955   0.06896     1.384    0.5408
22 S     142.7     1.603     9.255    0.2344     3.741    0.6076
23 S     143.9         1     9.431    0.1398     4.196    0.5655
24 S       144     1.847     9.445   0.01771     4.252    0.5106
25 S     147.1         1     9.475  -0.04531     5.123    0.4765
26 S     148.4     1.593     9.418  0.001544     5.719    0.5049
27 S     149.5         1     9.419   0.08407     6.067    0.5581
28 S     150.6     1.805     9.516  -0.03874     6.709    0.4715
29 S     152.7         1     9.471   0.03223     7.257    0.5259
30 S     170.4     1.553     10.04  -0.01409     16.56    0.4495
31 S     175.1         1     9.998  -0.06218     17.92    0.3633
32 S     175.2     1.835     9.992   -0.1781     17.96    0.1551
33 S     176.6     1.593     9.856   -0.1162     18.07    0.2685
34 S     183.4         1      9.36   -0.1396     19.22    0.2205
35 S     183.7     1.498     9.321   -0.2474     19.28 -0.002606
36 S     193.2     1.805     7.752    -0.192     19.27    0.1351
37 S     194.6     1.694     7.603   -0.1834     19.37     0.157
38 S     199.2         1     7.104   -0.1728      19.8    0.1866
39 S     240.2         1   0.01564   -0.1728     27.45    0.1866

 # T       SA3      CMA3      AST3      PTZ3      DIS3     TACHC      TCHC
 0 S         0         0         0         0         0         0         0
 1 S-0.0001325 -0.002974  -0.06676   -0.2279    -6.615 -0.007531   -0.1691
 2 S    0.0402  -0.06981   -0.3703    0.9372      3.26   0.04734   -0.1674
 3 S  0.002692  -0.04412  -0.08882    0.1185    -1.827  -0.01637    -0.181
 4 S-0.0002438 -0.003337  -0.04567    0.0332   -0.1707 0.0003666  0.005017
 5 S    0.1748   -0.3643    0.7591    0.4796    -2.581   0.08419   -0.1754
 6 S   -0.2128    0.4741    -1.056   -0.6164     3.727   -0.1599    0.3563
 7 S   0.03621   0.02145    0.0127    0.2224    0.1392    0.0879   0.05206
 8 S  -0.09809  -0.09647  -0.09489   -0.1634    -0.254   -0.0681  -0.06698
 9 S 0.0008668   0.01054    0.1282  -0.04689     0.989   0.01143     0.139
10 S    -0.226  -0.06504  -0.01871   -0.4863   -0.1453   -0.1037  -0.02984
11 S-0.0002438 -0.003032  -0.03771    0.1541     1.447   0.01127    0.1401
12 S -0.001209  -0.00492  -0.02002   -0.2772    -1.209  -0.03057   -0.1244
13 S    0.0379  -0.09908     0.259   0.05039    -0.809    0.1453   -0.3799
14 S    0.5518    0.2762    0.1383    0.6754    0.4073    0.3285    0.1644
15 S   -0.2387   -0.2401   -0.2415   -0.3595   -0.6045   -0.1414   -0.1423
16 S  -0.01081   0.05612   -0.2912   -0.1606     2.345  -0.05251    0.2725
17 S  -0.01593  -0.04246   -0.1132    -0.512    -1.666  -0.08987   -0.2395
18 S   -0.1947    0.4535    -1.056  -0.05015     2.576   -0.1214    0.2828
19 S         0        -0         0         0         0        -0         0
20 S     0.278   -0.5222    0.9809    0.2046    -2.227    0.1316   -0.2473
21 S    0.3398    0.5842     1.004    0.8741      3.23    0.1677    0.2884
22 S   0.02519  -0.05267    0.1102    0.7262    -1.749   0.06324   -0.1323
23 S 0.0003911  -0.01127    0.3249   -0.4076     2.381 -0.005392    0.1554
24 S   -0.2963   -0.6578     -1.46   -0.4559    -4.253   -0.2988   -0.6633
25 S  -0.01985   0.07227   -0.2632   -0.2346     1.813   -0.1264    0.4604
26 S   0.01932  -0.06658    0.2295    0.2034    -1.492   0.03762   -0.1297
27 S    0.1132    0.3286    0.9533    0.3582     3.805   0.06756     0.196
28 S   -0.1479   -0.4159     -1.17   -0.4657    -4.599   -0.2278   -0.6407
29 S   0.01751   0.08631    0.4254    0.2704     3.429    0.1154    0.5685
30 S   -0.6402    -1.116    -2.188   -0.1935    -6.701  -0.03345   -0.1915
31 S  -0.03621   0.05037  -0.07007   -0.2017     0.378  -0.04282   0.05957
32 S  0.001573   0.01257    0.1004   -0.4118    -2.487  -0.04724   -0.3773
33 S   0.01727   0.06018    0.2097    0.1399     1.218   0.08603    0.2997
34 S  -0.08141   0.06333  -0.04927   -0.1023    0.1179  -0.05314   0.04134
35 S  0.004694   0.04069    0.3526   -0.5031    -1.304  -0.01673    -0.145
36 S    0.3083    0.4014    0.5226    0.1723    0.9046    0.3124    0.4068
37 S-0.0003148  0.002884  -0.02642   0.02406   0.02168    -0.023    0.2107
38 S    0.2537     0.942     2.282   0.05766     6.774  -0.04968   0.07241
39 S         0        -0         0         0         0        -0         0
      0.002221   0.05814   0.06529   -0.1748    -1.731  -0.01802  -0.03138

Out[1]:
<rayopt.analysis.Analysis at 0x21e5ac080b8>
In [2]:
description = "US 2018-0136444 Example 1 (AF-S Nikkor 24-70mm f/2.8E ED VR)"
columns = "type distance roc diameter material"
# number of surfaces = 40
lensdata = """
O 0.0 0.0 84.318 AIR
S 20 121.85638 64.86 1.74389/49.5
S 2.9 29.6367 51.54 AIR
S 15.36 -197.50816 51.54 1.56093/36.6
S 0.2 -169.39125 51.54 1.804/46.6
S 2.1 60.51496 51.54 AIR
S 0.15 52.85097 51.52 2.001/29.1
S 5.6 146.47986 51.52 AIR
S 1.902 148.41161 35.35 1.59349/67
S 3 -517.10678 35.35 AIR
S 0.1 49.87002 37.51 1.59349/67
S 3.5 157.3519 37.51 AIR
S 4.762 87.49334 38.46 1.59349/67
S 4.8 -132.224 38.46 1.90366/31.3
S 1.5 45.76622 36.11 AIR
S 1.64 78.93526 36.11 1.7725/49.6
S 4.45 -176.75459 37.46 AIR
S 7.735 57.14809 39.5 1.816/46.6
S 5.3 -583.40702 39.5 AIR
A 30.639 0 24.728 AIR
S 3.62 -141.85186 24.4 1.804/46.6
S 1.2 33.20059 23.71 AIR
S 4.36 -33.72704 23.71 1.603/65.4
S 1.2 -60.0953 24.92 AIR
S 0.1 65.48868 25.94 1.84666/23.8
S 3.15 -127.25009 25.94 AIR
S 1.25 -119.24441 26.2 1.59349/67
S 1.1 67.70394 26.2 AIR
S 1.15 62.368 26.7 1.80518/25.5
S 2.1 107.42 26.7 AIR
S 1.492 119.87584 32.86 1.55332/71.7
S 4.7 -115.00129 32.86 AIR
S 0.1 71.95116 33.62 1.83481/42.7
S 1.4 38.488 33.62 1.59319/67.9
S 6.8 -237.01429 33.62 AIR
S 0.28 43.00799 34.14 1.49782/82.6
S 9.5 -42.999 33.1 1.80518/25.5
S 1.4 98.941 33.1 1.6935/53.3
S 4.6 462.40647 33.1 AIR
I 55.686 0 43.2 AIR
"""
s = ro.system_from_text(lensdata, columns.split(),
    description=description)
s.fields = 0, .7, 1.
s.object.angle = np.deg2rad(17.200000)
s[2].conic = -1
s[2].aspherics = [0, 2.2151e-06, 2.5769e-09, -6.015e-12, 1.092e-14, -7.29e-18, 0]
s[3].conic = 0
s[3].aspherics = [0, -3.8343e-07, 7.9334e-10, -3.5363e-12, 5.0812e-15, -3.4337e-18, 0]
s[30].conic = 0
s[30].aspherics = [0, 4.8089e-06, 5.0698e-10, -2.7314e-12, -7.7815e-16, 0, 0]
s[38].conic = 0
s[38].aspherics = [0, 7.5654e-06, -9.886e-10, 5.6174e-12, -8.0775e-15, 0, 0]
s.update()
print(s)
ro.Analysis(s)
System: US 2018-0136444 Example 1 (AF-S Nikkor 24-70mm f/2.8E ED VR)
Scale: 1.0 mm
Wavelengths: 588, 656, 486 nm
Fields: 0, 0.7, 1
Object:
 Semi-Angle: 17.2 deg
 Pupil:
   Pupil Distance: 67.9139
   Refractive Index: 1.00028
   Update Radius: True
   Radius: 11.9338
Image:
 Radius: 21.6
 Update Radius: True
 Pupil:
   Pupil Distance: -98.1656
   Refractive Index: 1.00028
   Update Radius: True
   Radius: 17.2677
Stop: 19
Elements:
 # T   Distance   Rad Curv   Diameter          Material       n      nd      Vd
 0 S          0        inf     84.318         basic/air   1.000   1.000   89.30
 1 S         20      121.9      64.86                 -   1.744   1.744   49.50
 2 S        2.9      29.64      51.54         basic/air   1.000   1.000   89.30
 3 S      15.36     -197.5      51.54                 -   1.561   1.561   36.60
 4 S        0.2     -169.4      51.54                 -   1.804   1.804   46.60
 5 S        2.1      60.51      51.54         basic/air   1.000   1.000   89.30
 6 S       0.15      52.85      51.52                 -   2.001   2.001   29.10
 7 S        5.6      146.5      51.52         basic/air   1.000   1.000   89.30
 8 S      1.902      148.4      35.35                 -   1.593   1.593   67.00
 9 S          3     -517.1      35.35         basic/air   1.000   1.000   89.30
10 S        0.1      49.87      37.51                 -   1.593   1.593   67.00
11 S        3.5      157.4      37.51         basic/air   1.000   1.000   89.30
12 S      4.762      87.49      38.46                 -   1.593   1.593   67.00
13 S        4.8     -132.2      38.46                 -   1.904   1.904   31.30
14 S        1.5      45.77      36.11         basic/air   1.000   1.000   89.30
15 S       1.64      78.94      36.11                 -   1.772   1.772   49.60
16 S       4.45     -176.8      37.46         basic/air   1.000   1.000   89.30
17 S      7.735      57.15       39.5                 -   1.816   1.816   46.60
18 S        5.3     -583.4       39.5         basic/air   1.000   1.000   89.30
19 S     30.639        inf     24.728         basic/air   1.000   1.000   89.30
20 S       3.62     -141.9       24.4                 -   1.804   1.804   46.60
21 S        1.2       33.2      23.71         basic/air   1.000   1.000   89.30
22 S       4.36     -33.73      23.71                 -   1.603   1.603   65.40
23 S        1.2      -60.1      24.92         basic/air   1.000   1.000   89.30
24 S        0.1      65.49      25.94                 -   1.847   1.847   23.80
25 S       3.15     -127.3      25.94         basic/air   1.000   1.000   89.30
26 S       1.25     -119.2       26.2                 -   1.593   1.593   67.00
27 S        1.1       67.7       26.2         basic/air   1.000   1.000   89.30
28 S       1.15      62.37       26.7                 -   1.805   1.805   25.50
29 S        2.1      107.4       26.7         basic/air   1.000   1.000   89.30
30 S      1.492      119.9      32.86                 -   1.553   1.553   71.70
31 S        4.7       -115      32.86         basic/air   1.000   1.000   89.30
32 S        0.1      71.95      33.62                 -   1.835   1.835   42.70
33 S        1.4      38.49      33.62                 -   1.593   1.593   67.90
34 S        6.8       -237      33.62         basic/air   1.000   1.000   89.30
35 S       0.28      43.01      34.14                 -   1.498   1.498   82.60
36 S        9.5        -43       33.1                 -   1.805   1.805   25.50
37 S        1.4      98.94       33.1                 -   1.694   1.694   53.30
38 S        4.6      462.4       33.1         basic/air   1.000   1.000   89.30
39 S     55.686        inf       43.2         basic/air   1.000   1.000   89.30

System: US 2018-0136444 Example 1 (AF-S Nikkor 24-70mm f/2.8E ED VR)
Scale: 1.0 mm
Wavelengths: 588, 656, 486 nm
Fields: 0, 0.7, 1
Object:
 Semi-Angle: 17.2 deg
 Pupil:
   Pupil Distance: 67.9139
   Refractive Index: 1.00028
   Update Radius: True
   Radius: 11.9338
Image:
 Radius: 21.6
 Update Radius: True
 Pupil:
   Pupil Distance: -98.1656
   Refractive Index: 1.00028
   Update Radius: True
   Radius: 17.2677
Stop: 19
Elements:
 # T   Distance   Rad Curv   Diameter          Material       n      nd      Vd
 0 S          0        inf     84.318         basic/air   1.000   1.000   89.30
 1 S         20      121.9      64.86                 -   1.744   1.744   49.50
 2 S        2.9      29.64      51.54         basic/air   1.000   1.000   89.30
 3 S      15.36     -197.5      51.54                 -   1.561   1.561   36.60
 4 S        0.2     -169.4      51.54                 -   1.804   1.804   46.60
 5 S        2.1      60.51      51.54         basic/air   1.000   1.000   89.30
 6 S       0.15      52.85      51.52                 -   2.001   2.001   29.10
 7 S        5.6      146.5      51.52         basic/air   1.000   1.000   89.30
 8 S      1.902      148.4      35.35                 -   1.593   1.593   67.00
 9 S          3     -517.1      35.35         basic/air   1.000   1.000   89.30
10 S        0.1      49.87      37.51                 -   1.593   1.593   67.00
11 S        3.5      157.4      37.51         basic/air   1.000   1.000   89.30
12 S      4.762      87.49      38.46                 -   1.593   1.593   67.00
13 S        4.8     -132.2      38.46                 -   1.904   1.904   31.30
14 S        1.5      45.77      36.11         basic/air   1.000   1.000   89.30
15 S       1.64      78.94      36.11                 -   1.772   1.772   49.60
16 S       4.45     -176.8      37.46         basic/air   1.000   1.000   89.30
17 S      7.735      57.15       39.5                 -   1.816   1.816   46.60
18 S        5.3     -583.4       39.5         basic/air   1.000   1.000   89.30
19 S     30.639        inf     24.728         basic/air   1.000   1.000   89.30
20 S       3.62     -141.9       24.4                 -   1.804   1.804   46.60
21 S        1.2       33.2      23.71         basic/air   1.000   1.000   89.30
22 S       4.36     -33.73      23.71                 -   1.603   1.603   65.40
23 S        1.2      -60.1      24.92         basic/air   1.000   1.000   89.30
24 S        0.1      65.49      25.94                 -   1.847   1.847   23.80
25 S       3.15     -127.3      25.94         basic/air   1.000   1.000   89.30
26 S       1.25     -119.2       26.2                 -   1.593   1.593   67.00
27 S        1.1       67.7       26.2         basic/air   1.000   1.000   89.30
28 S       1.15      62.37       26.7                 -   1.805   1.805   25.50
29 S        2.1      107.4       26.7         basic/air   1.000   1.000   89.30
30 S      1.492      119.9      32.86                 -   1.553   1.553   71.70
31 S        4.7       -115      32.86         basic/air   1.000   1.000   89.30
32 S        0.1      71.95      33.62                 -   1.835   1.835   42.70
33 S        1.4      38.49      33.62                 -   1.593   1.593   67.90
34 S        6.8       -237      33.62         basic/air   1.000   1.000   89.30
35 S       0.28      43.01      34.14                 -   1.498   1.498   82.60
36 S        9.5        -43       33.1                 -   1.805   1.805   25.50
37 S        1.4      98.94       33.1                 -   1.694   1.694   53.30
38 S        4.6      462.4       33.1         basic/air   1.000   1.000   89.30
39 S     55.804        inf       43.2         basic/air   1.000   1.000   89.30

lagrange: -3.7567
track length: 145.14
object, image height: [21.3733 21.3509]
front, back focal length (from PP): [-67.9603  67.9603]
entry, exit pupil height: [11.9338 17.2677]
entry, exit pupil distance: [ 47.9139 -42.4796]
front, back focal distance: [ 0.9461 55.8408]
front, back principal distance: [ 68.9064 -12.1195]
front, back nodal distance: [ 68.9064 -12.1195]
front, back numerical aperture: [0.    0.173]
front, back f number: [2.8474 1.9678]
front, back working f number: [  inf 2.891]
front, back airy radius: [   inf 0.0021]
transverse, angular magnification: [-0.      0.6911]

 # T      path         n   axial y  axial nu   chief y  chief nu
 0 S         0         1     11.93         0    -21.37    0.3148
 1 S        20     1.744     11.93  -0.07282    -15.08    0.4068
 2 S      22.9         1     11.81    0.2236     -14.4   0.04544
 3 S     38.26     1.561     15.25    0.2668     -13.7   0.00654
 4 S     38.46     1.804     15.28    0.2888     -13.7  -0.01312
 5 S     40.56         1     15.62    0.4962    -13.72   -0.1953
 6 S     40.71     2.001     15.69    0.1991    -13.75   0.06499
 7 S     46.31         1     16.25    0.3101    -13.57  -0.02769
 8 S     48.21     1.593     16.84    0.2428    -13.62   0.02674
 9 S     51.21         1     17.29    0.2229    -13.57   0.04231
10 S     51.31     1.593     17.32   0.01695    -13.56    0.2037
11 S     54.81         1     17.35   0.08238    -13.12    0.1542
12 S     59.57     1.593     17.75  -0.03794    -12.38    0.2382
13 S     64.37     1.904     17.63  0.003419    -11.67    0.2108
14 S     65.87         1     17.63    0.3515     -11.5  -0.01619
15 S     67.51     1.772     18.21    0.1734    -11.53   0.09657
16 S     71.96         1     18.65   0.09189    -11.28    0.1459
17 S      79.7     1.816     19.36   -0.1844    -10.16    0.2908
18 S        85         1     18.82   -0.2107    -9.307    0.3038
19 S     115.6         1     12.36   -0.2107 2.785e-15    0.3038
20 S     119.3     1.804      11.6    -0.145       1.1    0.3101
21 S     120.5         1      11.5    0.1335     1.306    0.3417
22 S     124.8     1.603     12.09    0.3495     2.795    0.3916
23 S       126         1     12.35    0.2257     3.088    0.3607
24 S     126.1     1.847     12.37    0.0658     3.124    0.3203
25 S     129.3         1     12.48  -0.01724     3.671    0.2959
26 S     130.5     1.593     12.46   0.04476     4.041     0.316
27 S     131.6         1     12.49    0.1542     4.259    0.3533
28 S     132.8     1.805     12.67 -0.009296     4.665    0.2931
29 S     134.9         1     12.66   0.08556     5.006    0.3306
30 S     136.4     1.553     12.79   0.02657     5.499    0.3052
31 S     141.1         1     12.87  -0.03531     6.422    0.2743
32 S     141.2     1.835     12.86   -0.1845      6.45    0.1995
33 S     142.6     1.593     12.72   -0.1046     6.602     0.241
34 S     149.4         1     12.28   -0.1354     7.631    0.2219
35 S     149.6     1.498     12.24   -0.2769     7.693    0.1329
36 S     159.1     1.805     10.48    -0.202     8.536    0.1939
37 S     160.5     1.694     10.33   -0.1904     8.686    0.2037
38 S     165.1         1     9.808   -0.1756     9.239    0.2176
39 S     220.8         1    0.0299   -0.1756     21.35    0.2176

 # T       SA3      CMA3      AST3      PTZ3      DIS3     TACHC      TCHC
 0 S         0         0         0         0         0         0         0
 1 S -0.007793   -0.0152  -0.02963   -0.1403   -0.3314  -0.05726   -0.1116
 2 S     2.364    -1.239    0.3468    0.5769 -0.007151    0.3599   -0.2549
 3 S    0.1583   -0.3203    0.1482   0.07291   -0.1857   -0.1245  -0.09768
 4 S  -0.01434  -0.01511  -0.01592   0.02044  0.004757  0.002787  0.002937
 5 S     10.28    -5.753     3.219    0.2952    -1.967      0.64   -0.3582
 6 S    -12.51     7.188    -4.128   -0.3794     2.589    -1.216    0.6982
 7 S     2.129   -0.6086     0.174    0.1369  -0.08884    0.6682    -0.191
 8 S    -1.839    0.5189   -0.1464   -0.1006   0.06967   -0.2252   0.06352
 9 S    0.2245   0.08121   0.02938  -0.02886 0.0001873    0.1035   0.03744
10 S    -3.459     1.394   -0.5615   -0.2993    0.3468   -0.3118    0.1256
11 S    0.1385   0.05092   0.01871   0.09486   0.04174    0.1056   0.03881
12 S   -0.3992  -0.01769-0.0007837   -0.1706 -0.007594   -0.1598 -0.007082
13 S   0.04992   -0.0755    0.1142   0.03101   -0.2196    0.2411   -0.3646
14 S     9.535    -3.461     1.257    0.4157   -0.6071      1.12   -0.4065
15 S    -5.196     1.448   -0.4034   -0.2213    0.1741   -0.5293    0.1475
16 S 0.0003609 -0.005553   0.08544  -0.09882    0.2059  -0.01269    0.1952
17 S    -1.508    0.1116 -0.008264   -0.3151   0.02394   -0.4567   0.03381
18 S   -0.4884    0.6428    -0.846  -0.03087     1.154   -0.2505    0.3297
19 S         0        -0         0         0         0        -0         0
20 S    0.4684   -0.4741    0.4799    0.1259   -0.6132    0.1844   -0.1867
21 S     1.342     1.065    0.8449     0.538     1.097    0.3002    0.2382
22 S  0.004464 -0.005135  0.005908     0.447    -0.521   0.08883   -0.1022
23 S  0.001275   0.01957    0.3005   -0.2509     0.762  0.008126    0.1248
24 S    -1.247    -1.228    -1.209   -0.2806    -1.468   -0.5615   -0.5531
25 S  -0.01724   0.03991  -0.09237   -0.1444     0.548   -0.1576    0.3649
26 S    0.0183  -0.03937   0.08471    0.1252   -0.4515   0.04792   -0.1031
27 S    0.5562    0.6833    0.8395    0.2205     1.302    0.1336    0.1642
28 S   -0.7221   -0.8649    -1.036   -0.2866    -1.584   -0.4501   -0.5391
29 S    0.1316    0.2439    0.4523    0.1664     1.147     0.256    0.4746
30 S    -1.716    -0.891   -0.6826   -0.1191    -1.113  -0.06937   -0.1358
31 S   -0.0367   0.05446  -0.08081   -0.1241    0.3041  -0.05346   0.07933
32 S   -0.0147  -0.03727  -0.09453   -0.2534   -0.8825   -0.1118   -0.2835
33 S   0.08746    0.1066    0.1299   0.08613    0.2632    0.1578    0.1923
34 S   -0.1149    0.1165    -0.118  -0.06295    0.1834  -0.07157   0.07253
35 S  0.009174   0.02463   0.06612   -0.3097   -0.6538  -0.04175   -0.1121
36 S    0.7546    0.1932   0.04949     0.106   0.03983    0.5151    0.1319
37 S-2.385e-05 0.0006171  -0.01596   0.01481   0.02993  -0.00784    0.2028
38 S     1.031     1.151    0.8074   0.03549     1.132  -0.06611    0.1017
39 S         0        -0         0         0         0        -0         0
      -0.01043   0.08229  -0.01666   -0.1076    0.7186 -0.001598   0.01295

Out[2]:
<rayopt.analysis.Analysis at 0x21e4a6f8860>
In [ ]: