%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 2020/0049962 Example 1 (Nikon AF-S Nikkor 80-400mm f/4.5-5.6G ED VR)"
columns = "type distance roc diameter material"
# number of surfaces = 33
lensdata = """
O 0.0 0.0 97.656 AIR
S 20 182.816 75.12 1.90265/35.7
S 2.5 92.566 73.85 1.49782/82.6
S 10 -707.416 73.85 AIR
S 0.1 83.365 72.41 1.437/95
S 9.2 1420.361 72.41 AIR
S 8.225 117.082 48.15 1.801/34.9
S 6.4 -117.044 46.88 1.49782/82.6
S 2.2 61.183 39.53 AIR
S 5.81 -265.081 36.35 1.816/46.6
S 2 30.785 33.47 1.80518/25.5
S 4.6 92.264 33.47 AIR
S 6.2 -56.342 31.88 1.83481/42.7
S 2 158.965 33.32 AIR
S 27.059 112.252 33.64 1.59319/67.9
S 4.6 -78.685 33.64 AIR
S 0.1 67.612 33.64 1.90366/31.3
S 1.8 35.499 33.17 1.59319/67.9
S 6.4 -238.177 33.17 AIR
S 5.388 -58.467 27.58 1.72916/54.6
S 1.6 38.999 27.58 1.90265/35.7
S 3.6 146.9 27.58 AIR
A 26.684 0 26.399 AIR
S 2 124.142 29.04 1.744/44.8
S 3.4 -124.142 29.04 AIR
S 0.1 26.615 28.31 1.48749/70.3
S 6.8 0 26.89 1.95/29.4
S 2 26.437 25.66 1.51742/52.2
S 4.8 0 25.66 AIR
S 17.6 176.178 24.44 1.64769/33.7
S 6 -19.703 24.44 1.603/65.4
S 1.6 0 24.44 AIR
S 11.27 -22.131 24.85 1.83481/42.7
S 1.6 -33.748 25.77 AIR
I 52.8 0 43.2 AIR
"""
s = ro.system_from_text(lensdata, columns.split(),
description=description)
s.fields = 0, .7, 1.
s.object.angle = np.deg2rad(14.800000)
s.update()
print(s)
ro.Analysis(s)
Populating the interactive namespace from numpy and matplotlib System: US 2020/0049962 Example 1 (Nikon AF-S Nikkor 80-400mm f/4.5-5.6G ED VR) Scale: 1.0 mm Wavelengths: 588, 656, 486 nm Fields: 0, 0.7, 1 Object: Semi-Angle: 14.8 deg Pupil: Pupil Distance: 130.87 Refractive Index: 1.00028 Update Radius: True Radius: 9.05579 Image: Radius: 21.6 Update Radius: True Pupil: Pupil Distance: -86.7771 Refractive Index: 1.00028 Update Radius: True Radius: 9.63278 Stop: 22 Elements: # T Distance Rad Curv Diameter Material n nd Vd 0 S 0 inf 97.656 basic/air 1.000 1.000 89.30 1 S 20 182.8 75.12 - 1.903 1.903 35.70 2 S 2.5 92.57 73.85 - 1.498 1.498 82.60 3 S 10 -707.4 73.85 basic/air 1.000 1.000 89.30 4 S 0.1 83.36 72.41 - 1.437 1.437 95.00 5 S 9.2 1420 72.41 basic/air 1.000 1.000 89.30 6 S 8.225 117.1 48.15 - 1.801 1.801 34.90 7 S 6.4 -117 46.88 - 1.498 1.498 82.60 8 S 2.2 61.18 39.53 basic/air 1.000 1.000 89.30 9 S 5.81 -265.1 36.35 - 1.816 1.816 46.60 10 S 2 30.78 33.47 - 1.805 1.805 25.50 11 S 4.6 92.26 33.47 basic/air 1.000 1.000 89.30 12 S 6.2 -56.34 31.88 - 1.835 1.835 42.70 13 S 2 159 33.32 basic/air 1.000 1.000 89.30 14 S 27.059 112.3 33.64 - 1.593 1.593 67.90 15 S 4.6 -78.69 33.64 basic/air 1.000 1.000 89.30 16 S 0.1 67.61 33.64 - 1.904 1.904 31.30 17 S 1.8 35.5 33.17 - 1.593 1.593 67.90 18 S 6.4 -238.2 33.17 basic/air 1.000 1.000 89.30 19 S 5.388 -58.47 27.58 - 1.729 1.729 54.60 20 S 1.6 39 27.58 - 1.903 1.903 35.70 21 S 3.6 146.9 27.58 basic/air 1.000 1.000 89.30 22 S 26.684 inf 26.399 basic/air 1.000 1.000 89.30 23 S 2 124.1 29.04 - 1.744 1.744 44.80 24 S 3.4 -124.1 29.04 basic/air 1.000 1.000 89.30 25 S 0.1 26.61 28.31 - 1.487 1.487 70.30 26 S 6.8 inf 26.89 - 1.950 1.950 29.40 27 S 2 26.44 25.66 - 1.517 1.517 52.20 28 S 4.8 inf 25.66 basic/air 1.000 1.000 89.30 29 S 17.6 176.2 24.44 - 1.648 1.648 33.70 30 S 6 -19.7 24.44 - 1.603 1.603 65.40 31 S 1.6 inf 24.44 basic/air 1.000 1.000 89.30 32 S 11.27 -22.13 24.85 - 1.835 1.835 42.70 33 S 1.6 -33.75 25.77 basic/air 1.000 1.000 89.30 34 S 52.8 inf 43.2 basic/air 1.000 1.000 89.30 System: US 2020/0049962 Example 1 (Nikon AF-S Nikkor 80-400mm f/4.5-5.6G ED VR) Scale: 1.0 mm Wavelengths: 588, 656, 486 nm Fields: 0, 0.7, 1 Object: Semi-Angle: 14.8 deg Pupil: Pupil Distance: 130.87 Refractive Index: 1.00028 Update Radius: True Radius: 9.05579 Image: Radius: 21.6 Update Radius: True Pupil: Pupil Distance: -86.7771 Refractive Index: 1.00028 Update Radius: True Radius: 9.63278 Stop: 22 Elements: # T Distance Rad Curv Diameter Material n nd Vd 0 S 0 inf 97.656 basic/air 1.000 1.000 89.30 1 S 20 182.8 75.12 - 1.903 1.903 35.70 2 S 2.5 92.57 73.85 - 1.498 1.498 82.60 3 S 10 -707.4 73.85 basic/air 1.000 1.000 89.30 4 S 0.1 83.36 72.41 - 1.437 1.437 95.00 5 S 9.2 1420 72.41 basic/air 1.000 1.000 89.30 6 S 8.225 117.1 48.15 - 1.801 1.801 34.90 7 S 6.4 -117 46.88 - 1.498 1.498 82.60 8 S 2.2 61.18 39.53 basic/air 1.000 1.000 89.30 9 S 5.81 -265.1 36.35 - 1.816 1.816 46.60 10 S 2 30.78 33.47 - 1.805 1.805 25.50 11 S 4.6 92.26 33.47 basic/air 1.000 1.000 89.30 12 S 6.2 -56.34 31.88 - 1.835 1.835 42.70 13 S 2 159 33.32 basic/air 1.000 1.000 89.30 14 S 27.059 112.3 33.64 - 1.593 1.593 67.90 15 S 4.6 -78.69 33.64 basic/air 1.000 1.000 89.30 16 S 0.1 67.61 33.64 - 1.904 1.904 31.30 17 S 1.8 35.5 33.17 - 1.593 1.593 67.90 18 S 6.4 -238.2 33.17 basic/air 1.000 1.000 89.30 19 S 5.388 -58.47 27.58 - 1.729 1.729 54.60 20 S 1.6 39 27.58 - 1.903 1.903 35.70 21 S 3.6 146.9 27.58 basic/air 1.000 1.000 89.30 22 S 26.684 inf 26.399 basic/air 1.000 1.000 89.30 23 S 2 124.1 29.04 - 1.744 1.744 44.80 24 S 3.4 -124.1 29.04 basic/air 1.000 1.000 89.30 25 S 0.1 26.61 28.31 - 1.487 1.487 70.30 26 S 6.8 inf 26.89 - 1.950 1.950 29.40 27 S 2 26.44 25.66 - 1.517 1.517 52.20 28 S 4.8 inf 25.66 basic/air 1.000 1.000 89.30 29 S 17.6 176.2 24.44 - 1.648 1.648 33.70 30 S 6 -19.7 24.44 - 1.603 1.603 65.40 31 S 1.6 inf 24.44 basic/air 1.000 1.000 89.30 32 S 11.27 -22.13 24.85 - 1.835 1.835 42.70 33 S 1.6 -33.75 25.77 basic/air 1.000 1.000 89.30 34 S 53.08 inf 43.2 basic/air 1.000 1.000 89.30 lagrange: -2.422 track length: 193.64 object, image height: [34.9925 21.8129] front, back focal length (from PP): [-81.8644 81.8644] entry, exit pupil height: [9.0558 9.6328] entry, exit pupil distance: [110.8702 -33.9771] front, back focal distance: [33.8999 53.0885] front, back principal distance: [115.7643 -28.7759] front, back nodal distance: [115.7643 -28.7759] front, back numerical aperture: [0. 0.11] front, back f number: [4.52 4.2493] front, back working f number: [ inf 4.5476] front, back airy radius: [ inf 0.0033] transverse, angular magnification: [-0. 0.9401] # T path n axial y axial nu chief y chief nu 0 S 0 1 9.056 0 -34.99 0.2675 1 S 20 1.903 9.056 -0.0447 -29.64 0.4138 2 S 22.5 1.498 8.997 -0.005351 -29.1 0.2865 3 S 32.5 1 8.961 -0.01165 -27.19 0.3056 4 S 32.6 1.437 8.96 -0.05859 -27.16 0.4479 5 S 41.8 1 8.585 -0.05595 -24.29 0.4404 6 S 50.02 1.801 8.125 -0.1115 -20.67 0.5818 7 S 56.42 1.498 7.729 -0.1315 -18.6 0.63 8 S 58.62 1 7.535 -0.07026 -17.68 0.4862 9 S 64.44 1.816 7.127 -0.04833 -14.85 0.4405 10 S 66.44 1.805 7.074 -0.04584 -14.37 0.4355 11 S 71.03 1 6.957 0.01485 -13.26 0.3198 12 S 77.23 1.835 7.049 0.1193 -11.27 0.1528 13 S 79.23 1 7.179 0.157 -11.11 0.09452 14 S 106.3 1.593 11.43 0.09661 -8.551 0.1397 15 S 110.9 1 11.7 0.008415 -8.148 0.2011 16 S 111 1.904 11.71 -0.148 -8.127 0.3097 17 S 112.8 1.593 11.57 -0.04683 -7.835 0.2412 18 S 119.2 1 11.38 -0.07515 -6.866 0.2582 19 S 124.6 1.729 10.97 0.06163 -5.475 0.19 20 S 126.2 1.903 11.03 0.01257 -5.299 0.2136 21 S 129.8 1 11.05 0.08046 -4.895 0.1835 22 S 156.5 1 13.2 0.08046 1.873e-15 0.1835 23 S 158.5 1.744 13.36 0.0004223 0.3669 0.1813 24 S 161.9 1 13.36 -0.07962 0.7203 0.177 25 S 162 1.487 13.35 -0.3241 0.738 0.1635 26 S 168.8 1.95 11.87 -0.3241 1.485 0.1635 27 S 170.8 1.517 11.54 -0.1353 1.653 0.1905 28 S 175.6 1 11.11 -0.1353 2.256 0.1905 29 S 193.2 1.648 8.732 -0.1673 5.608 0.1699 30 S 199.2 1.603 8.122 -0.1858 6.227 0.1558 31 S 200.8 1 7.937 -0.1858 6.382 0.1558 32 S 212 1.835 5.844 0.03461 8.137 0.4626 33 S 213.6 1 5.874 -0.1107 8.541 0.2514 34 S 266.4 1 0.03354 -0.1107 21.81 0.2514 # T SA3 CMA3 AST3 PTZ3 DIS3 TACHC TCHC 0 S 0 0 0 0 0 0 0 1 S -0.001236 -0.002626 -0.005578 -0.06851 -0.1574 -0.0537 -0.1141 2 S 0.007937 -0.01044 0.01372 0.04054 -0.07134 0.1053 -0.1384 3 S-0.0002212 0.003128 -0.04425 -0.0124 0.8013 -0.007893 0.1117 4 S -0.006202 0.001308-0.0002761 -0.09627 0.02037 -0.02474 0.005219 5 S -0.002653 0.0225 -0.1908 0.005651 1.571 -0.01234 0.1047 6 S 0.0001428 0.002799 0.05487 -0.1003 -0.8902 -0.01255 -0.246 7 S -0.04482 0.1688 -0.6359 -0.02537 2.491 -0.1399 0.5268 8 S -0.001102 -0.004106 -0.0153 0.1434 0.4772 0.01444 0.05382 9 S 0.01683 -0.09396 0.5244 0.04475 -3.177 0.06011 -0.3355 10 S 0.002545 -0.002807 0.003095 0.002832 -0.006538 -0.1845 0.2035 11 S 0.007383 0.0144 0.02809 0.1276 0.3037 0.09893 0.193 12 S 0.007949 -0.03747 0.1767 0.2132 -1.838 0.07459 -0.3517 13 S 0.1604 0.01954 0.002381 0.07556 0.009495 0.1392 0.01696 14 S -0.4093 -0.02898 -0.002052 -0.08755 -0.006345 -0.1459 -0.01033 15 S -0.03079 0.06683 -0.145 -0.1249 0.5859 -0.08109 0.176 16 S -0.08558 -0.0381 -0.01696 -0.1854 -0.09007 -0.2902 -0.1292 17 S 0.2599 -0.06081 0.01422 0.07617 -0.02115 0.4762 -0.1114 18 S -0.04387 0.1024 -0.2392 -0.04126 0.655 -0.06903 0.1612 19 S 0.3268 -0.4375 0.5857 0.1904 -1.039 0.2005 -0.2685 20 S -0.2581 0.02108 -0.001721 -0.03572 0.003057 -0.3044 0.02486 21 S 0.09287 0.08956 0.08636 0.08526 0.1655 0.206 0.1986 22 S -0 -0 -0 0 0 0 0 23 S -0.1709 -0.1694 -0.1679 -0.09072 -0.2563 -0.2155 -0.2136 24 S -0.1682 0.1538 -0.1405 -0.09072 0.2114 -0.2145 0.1961 25 S -0.717 -0.3476 -0.1685 -0.325 -0.2393 -0.2366 -0.1147 26 S 0.3438 -0.1734 0.08748 -0 -0.04413 0.4126 -0.2081 27 S 0.3823 0.207 0.1121 0.1461 0.1398 0.5499 0.2977 28 S -0.06996 0.09855 -0.1388 0 0.1955 -0.08837 0.1245 29 S 0.02122 -0.05509 0.143 -0.0589 -0.2182 0.07857 -0.2039 30 S -0.2793 -0.1157 -0.04795 -0.02268 -0.02927 -0.3662 -0.1517 31 S -0.1398 0.1173 -0.09834 0 0.08247 -0.07633 0.06402 32 S 1.044 0.4918 0.2318 0.5427 0.365 0.2522 0.1189 33 S -0.2593 -0.001554-9.313e-06 -0.3559 -0.002133 -0.1605-0.0009618 34 S 0 -0 0 0 0 -0 0 -0.01448 0.001174 0.004574 -0.02738 -0.008702 -0.01563 -0.02061
c:\software\python37\lib\site-packages\rayopt\analysis.py:316: UserWarning: No contour levels were found within the data range. axo.contour(x, y, o, v, cmap=plt.cm.RdBu_r)
<rayopt.analysis.Analysis at 0x2268ec0fda0>
description = "US 2020/0049962 Example 1 (Nikon AF-S Nikkor 80-400mm f/4.5-5.6G ED VR)"
columns = "type distance roc diameter material"
# number of surfaces = 33
lensdata = """
O 0.0 0.0 97.656 AIR
S 20 182.816 75.12 1.90265/35.7
S 2.5 92.566 73.85 1.49782/82.6
S 10 -707.416 73.85 AIR
S 0.1 83.365 72.41 1.437/95
S 9.2 1420.361 72.41 AIR
S 45.191 117.082 48.15 1.801/34.9
S 6.4 -117.044 46.88 1.49782/82.6
S 2.2 61.183 39.53 AIR
S 5.81 -265.081 36.35 1.816/46.6
S 2 30.785 33.47 1.80518/25.5
S 4.6 92.264 33.47 AIR
S 6.2 -56.342 31.88 1.83481/42.7
S 2 158.965 33.32 AIR
S 15.341 112.252 33.64 1.59319/67.9
S 4.6 -78.685 33.64 AIR
S 0.1 67.612 33.64 1.90366/31.3
S 1.8 35.499 33.17 1.59319/67.9
S 6.4 -238.177 33.17 AIR
S 17.106 -58.467 27.58 1.72916/54.6
S 1.6 38.999 27.58 1.90265/35.7
S 3.6 146.9 27.58 AIR
A 11.153 0 26.399 AIR
S 2 124.142 29.04 1.744/44.8
S 3.4 -124.142 29.04 AIR
S 0.1 26.615 28.31 1.48749/70.3
S 6.8 0 26.89 1.95/29.4
S 2 26.437 25.66 1.51742/52.2
S 4.8 0 25.66 AIR
S 17.6 176.178 24.44 1.64769/33.7
S 6 -19.703 24.44 1.603/65.4
S 1.6 0 24.44 AIR
S 11.27 -22.131 24.85 1.83481/42.7
S 1.6 -33.748 25.77 AIR
I 68.3 0 43.2 AIR
"""
s = ro.system_from_text(lensdata, columns.split(),
description=description)
s.fields = 0, .7, 1.
s.object.angle = np.deg2rad(6.050000)
s.update()
print(s)
ro.Analysis(s)
System: US 2020/0049962 Example 1 (Nikon AF-S Nikkor 80-400mm f/4.5-5.6G ED VR) Scale: 1.0 mm Wavelengths: 588, 656, 486 nm Fields: 0, 0.7, 1 Object: Semi-Angle: 6.05 deg Pupil: Pupil Distance: 294.254 Refractive Index: 1.00028 Update Radius: True Radius: 18.8046 Image: Radius: 21.6 Update Radius: True Pupil: Pupil Distance: -102.277 Refractive Index: 1.00028 Update Radius: True Radius: 9.63278 Stop: 22 Elements: # T Distance Rad Curv Diameter Material n nd Vd 0 S 0 inf 97.656 basic/air 1.000 1.000 89.30 1 S 20 182.8 75.12 - 1.903 1.903 35.70 2 S 2.5 92.57 73.85 - 1.498 1.498 82.60 3 S 10 -707.4 73.85 basic/air 1.000 1.000 89.30 4 S 0.1 83.36 72.41 - 1.437 1.437 95.00 5 S 9.2 1420 72.41 basic/air 1.000 1.000 89.30 6 S 45.191 117.1 48.15 - 1.801 1.801 34.90 7 S 6.4 -117 46.88 - 1.498 1.498 82.60 8 S 2.2 61.18 39.53 basic/air 1.000 1.000 89.30 9 S 5.81 -265.1 36.35 - 1.816 1.816 46.60 10 S 2 30.78 33.47 - 1.805 1.805 25.50 11 S 4.6 92.26 33.47 basic/air 1.000 1.000 89.30 12 S 6.2 -56.34 31.88 - 1.835 1.835 42.70 13 S 2 159 33.32 basic/air 1.000 1.000 89.30 14 S 15.341 112.3 33.64 - 1.593 1.593 67.90 15 S 4.6 -78.69 33.64 basic/air 1.000 1.000 89.30 16 S 0.1 67.61 33.64 - 1.904 1.904 31.30 17 S 1.8 35.5 33.17 - 1.593 1.593 67.90 18 S 6.4 -238.2 33.17 basic/air 1.000 1.000 89.30 19 S 17.106 -58.47 27.58 - 1.729 1.729 54.60 20 S 1.6 39 27.58 - 1.903 1.903 35.70 21 S 3.6 146.9 27.58 basic/air 1.000 1.000 89.30 22 S 11.153 inf 26.399 basic/air 1.000 1.000 89.30 23 S 2 124.1 29.04 - 1.744 1.744 44.80 24 S 3.4 -124.1 29.04 basic/air 1.000 1.000 89.30 25 S 0.1 26.61 28.31 - 1.487 1.487 70.30 26 S 6.8 inf 26.89 - 1.950 1.950 29.40 27 S 2 26.44 25.66 - 1.517 1.517 52.20 28 S 4.8 inf 25.66 basic/air 1.000 1.000 89.30 29 S 17.6 176.2 24.44 - 1.648 1.648 33.70 30 S 6 -19.7 24.44 - 1.603 1.603 65.40 31 S 1.6 inf 24.44 basic/air 1.000 1.000 89.30 32 S 11.27 -22.13 24.85 - 1.835 1.835 42.70 33 S 1.6 -33.75 25.77 basic/air 1.000 1.000 89.30 34 S 68.3 inf 43.2 basic/air 1.000 1.000 89.30 System: US 2020/0049962 Example 1 (Nikon AF-S Nikkor 80-400mm f/4.5-5.6G ED VR) Scale: 1.0 mm Wavelengths: 588, 656, 486 nm Fields: 0, 0.7, 1 Object: Semi-Angle: 6.05 deg Pupil: Pupil Distance: 294.254 Refractive Index: 1.00028 Update Radius: True Radius: 18.8046 Image: Radius: 21.6 Update Radius: True Pupil: Pupil Distance: -102.277 Refractive Index: 1.00028 Update Radius: True Radius: 9.63278 Stop: 22 Elements: # T Distance Rad Curv Diameter Material n nd Vd 0 S 0 inf 97.656 basic/air 1.000 1.000 89.30 1 S 20 182.8 75.12 - 1.903 1.903 35.70 2 S 2.5 92.57 73.85 - 1.498 1.498 82.60 3 S 10 -707.4 73.85 basic/air 1.000 1.000 89.30 4 S 0.1 83.36 72.41 - 1.437 1.437 95.00 5 S 9.2 1420 72.41 basic/air 1.000 1.000 89.30 6 S 45.191 117.1 48.15 - 1.801 1.801 34.90 7 S 6.4 -117 46.88 - 1.498 1.498 82.60 8 S 2.2 61.18 39.53 basic/air 1.000 1.000 89.30 9 S 5.81 -265.1 36.35 - 1.816 1.816 46.60 10 S 2 30.78 33.47 - 1.805 1.805 25.50 11 S 4.6 92.26 33.47 basic/air 1.000 1.000 89.30 12 S 6.2 -56.34 31.88 - 1.835 1.835 42.70 13 S 2 159 33.32 basic/air 1.000 1.000 89.30 14 S 15.341 112.3 33.64 - 1.593 1.593 67.90 15 S 4.6 -78.69 33.64 basic/air 1.000 1.000 89.30 16 S 0.1 67.61 33.64 - 1.904 1.904 31.30 17 S 1.8 35.5 33.17 - 1.593 1.593 67.90 18 S 6.4 -238.2 33.17 basic/air 1.000 1.000 89.30 19 S 17.106 -58.47 27.58 - 1.729 1.729 54.60 20 S 1.6 39 27.58 - 1.903 1.903 35.70 21 S 3.6 146.9 27.58 basic/air 1.000 1.000 89.30 22 S 11.153 inf 26.399 basic/air 1.000 1.000 89.30 23 S 2 124.1 29.04 - 1.744 1.744 44.80 24 S 3.4 -124.1 29.04 basic/air 1.000 1.000 89.30 25 S 0.1 26.61 28.31 - 1.487 1.487 70.30 26 S 6.8 inf 26.89 - 1.950 1.950 29.40 27 S 2 26.44 25.66 - 1.517 1.517 52.20 28 S 4.8 inf 25.66 basic/air 1.000 1.000 89.30 29 S 17.6 176.2 24.44 - 1.648 1.648 33.70 30 S 6 -19.7 24.44 - 1.603 1.603 65.40 31 S 1.6 inf 24.44 basic/air 1.000 1.000 89.30 32 S 11.27 -22.13 24.85 - 1.835 1.835 42.70 33 S 1.6 -33.75 25.77 basic/air 1.000 1.000 89.30 34 S 68.988 inf 43.2 basic/air 1.000 1.000 89.30 lagrange: -1.9973 track length: 215.07 object, image height: [31.2457 21.2011] front, back focal length (from PP): [-200.7971 200.7971] entry, exit pupil height: [18.8046 9.6328] entry, exit pupil distance: [274.2542 -33.9771] front, back focal distance: [-117.6979 68.8636] front, back principal distance: [ 83.0991 -131.9335] front, back nodal distance: [ 83.0991 -131.9335] front, back numerical aperture: [0. 0.0933] front, back f number: [ 5.3391 10.4226] front, back working f number: [ inf 5.3624] front, back airy radius: [ inf 0.0038] transverse, angular magnification: [-0. 1.9521] # T path n axial y axial nu chief y chief nu 0 S 0 1 18.8 0 -31.25 0.1062 1 S 20 1.903 18.8 -0.09282 -29.12 0.25 2 S 22.5 1.498 18.68 -0.01111 -28.79 0.124 3 S 32.5 1 18.61 -0.0242 -27.97 0.1437 4 S 32.6 1.437 18.61 -0.1217 -27.95 0.2901 5 S 41.8 1 17.83 -0.1162 -26.09 0.2821 6 S 86.99 1.801 12.58 -0.2022 -13.35 0.3734 7 S 93.39 1.498 11.86 -0.2329 -12.02 0.4045 8 S 95.59 1 11.52 -0.1393 -11.43 0.3116 9 S 101.4 1.816 10.71 -0.1063 -9.617 0.282 10 S 103.4 1.805 10.59 -0.1026 -9.307 0.2787 11 S 108 1 10.33 -0.01248 -8.597 0.2037 12 S 114.2 1.835 10.25 0.1394 -7.334 0.09512 13 S 116.2 1 10.4 0.194 -7.23 0.05717 14 S 131.5 1.593 13.38 0.1233 -6.353 0.09072 15 S 136.1 1 13.74 0.01982 -6.091 0.1366 16 S 136.2 1.904 13.74 -0.1637 -6.078 0.2178 17 S 138 1.593 13.58 -0.04493 -5.872 0.1665 18 S 144.4 1 13.4 -0.0783 -5.203 0.1794 19 S 161.5 1.729 12.06 0.07209 -2.135 0.1528 20 S 163.1 1.903 12.13 0.01813 -1.993 0.1617 21 S 166.7 1 12.16 0.09285 -1.687 0.1513 22 S 177.9 1 13.2 0.09285-7.387e-15 0.1513 23 S 179.9 1.744 13.39 0.01266 0.3026 0.1495 24 S 183.3 1 13.41 -0.06768 0.594 0.1459 25 S 183.4 1.487 13.4 -0.313 0.6086 0.1348 26 S 190.2 1.95 11.97 -0.313 1.225 0.1348 27 S 192.2 1.517 11.65 -0.1224 1.363 0.1571 28 S 197 1 11.26 -0.1224 1.86 0.1571 29 S 214.6 1.648 9.11 -0.1559 4.625 0.1401 30 S 220.6 1.603 8.543 -0.1752 5.135 0.1285 31 S 222.2 1 8.368 -0.1752 5.263 0.1285 32 S 233.5 1.835 6.393 0.06584 6.71 0.3815 33 S 235.1 1 6.451 -0.09368 7.043 0.2073 34 S 303.4 1 0.05457 -0.09368 21.2 0.2073 # T SA3 CMA3 AST3 PTZ3 DIS3 TACHC TCHC 0 S 0 0 0 0 0 0 0 1 S -0.02709 0.01399 -0.007222 -0.05491 0.03208 -0.2729 0.1409 2 S 0.1739 -0.2042 0.2397 0.03249 -0.3196 0.535 -0.6282 3 S -0.004846 0.01758 -0.06378 -0.009939 0.2674 -0.04011 0.1455 4 S -0.1359 0.1309 -0.126 -0.07717 0.1957 -0.1257 0.1211 5 S -0.05813 0.1479 -0.3764 0.004529 0.9465 -0.06271 0.1596 6 S 0.0002738 -0.005269 0.1014 -0.08038 -0.4049 0.01485 -0.2859 7 S -0.3864 0.5609 -0.8141 -0.02033 1.211 -0.4223 0.6129 8 S -0.005195 -0.01322 -0.03366 0.1149 0.2068 0.0241 0.06133 9 S 0.1962 -0.38 0.7357 0.03587 -1.494 0.1969 -0.3812 10 S 0.0114 -0.005872 0.003024 0.00227 -0.002726 -0.4575 0.2356 11 S 0.01032 0.01146 0.01274 0.1023 0.1278 0.1908 0.212 12 S 0.1109 -0.1904 0.3269 0.1709 -0.8547 0.2255 -0.3871 13 S 0.5669 0.0255 0.001147 0.06056 0.002776 0.3052 0.01373 14 S -1.012 -0.001782-3.135e-06 -0.07018-0.0001235 -0.2438-0.0004291 15 S -0.05026 0.0695 -0.09611 -0.1001 0.2714 -0.1237 0.171 16 S -0.2358 -0.04937 -0.01034 -0.1486 -0.03327 -0.4932 -0.1033 17 S 0.6315 -0.1085 0.01865 0.06106 -0.0137 0.7883 -0.1355 18 S -0.07801 0.1167 -0.1745 -0.03307 0.3104 -0.1049 0.1569 19 S 0.5311 -0.4029 0.3056 0.1526 -0.3476 0.2814 -0.2135 20 S -0.4575 -0.04834 -0.005107 -0.02863 -0.003565 -0.4371 -0.04618 21 S 0.1749 0.1392 0.1108 0.06834 0.1426 0.3014 0.2399 22 S -0 0 -0 0 0 0 0 23 S -0.2536 -0.1943 -0.1489 -0.07271 -0.1697 -0.2714 -0.208 24 S -0.1578 0.1268 -0.1018 -0.07271 0.1402 -0.2381 0.1913 25 S -0.9987 -0.3867 -0.1497 -0.2605 -0.1588 -0.289 -0.1119 26 S 0.3683 -0.1586 0.0683 -0 -0.02941 0.4737 -0.204 27 S 0.5384 0.2319 0.09991 0.1171 0.09347 0.6783 0.2922 28 S -0.06194 0.07951 -0.1021 0 0.131 -0.09554 0.1226 29 S 0.01567 -0.04067 0.1055 -0.04721 -0.1513 0.07969 -0.2068 30 S -0.3704 -0.1231 -0.04093 -0.01818 -0.01965 -0.4666 -0.1551 31 S -0.1459 0.1069 -0.07839 0 0.05747 -0.08948 0.0656 32 S 1.424 0.5362 0.2019 0.435 0.2399 0.3356 0.1264 33 S -0.3145 -0.001554-7.676e-06 -0.2853 -0.001409 -0.2078 -0.001027 34 S 0 -0 0 0 0 -0 0 -0.0005419 0.0001423 0.002393 -0.02195 0.3722 -0.01119 0.0006613
<rayopt.analysis.Analysis at 0x226a45000f0>
description = "US 2020/0049962 Example 1 (Nikon AF-S Nikkor 80-400mm f/4.5-5.6G ED VR)"
columns = "type distance roc diameter material"
# number of surfaces = 33
lensdata = """
O 0.0 0.0 97.656 AIR
S 20 182.816 75.12 1.90265/35.7
S 2.5 92.566 73.85 1.49782/82.6
S 10 -707.416 73.85 AIR
S 0.1 83.365 72.41 1.437/95
S 9.2 1420.361 72.41 AIR
S 64.292 117.082 48.15 1.801/34.9
S 6.4 -117.044 46.88 1.49782/82.6
S 2.2 61.183 39.53 AIR
S 5.81 -265.081 36.35 1.816/46.6
S 2 30.785 33.47 1.80518/25.5
S 4.6 92.264 33.47 AIR
S 6.2 -56.342 31.88 1.83481/42.7
S 2 158.965 33.32 AIR
S 3.056 112.252 33.64 1.59319/67.9
S 4.6 -78.685 33.64 AIR
S 0.1 67.612 33.64 1.90366/31.3
S 1.8 35.499 33.17 1.59319/67.9
S 6.4 -238.177 33.17 AIR
S 29.391 -58.467 27.58 1.72916/54.6
S 1.6 38.999 27.58 1.90265/35.7
S 3.6 146.9 27.58 AIR
A 2.382 0 26.399 AIR
S 2 124.142 29.04 1.744/44.8
S 3.4 -124.142 29.04 AIR
S 0.1 26.615 28.31 1.48749/70.3
S 6.8 0 26.89 1.95/29.4
S 2 26.437 25.66 1.51742/52.2
S 4.8 0 25.66 AIR
S 17.6 176.178 24.44 1.64769/33.7
S 6 -19.703 24.44 1.603/65.4
S 1.6 0 24.44 AIR
S 11.27 -22.131 24.85 1.83481/42.7
S 1.6 -33.748 25.77 AIR
I 77.1 0 43.2 AIR
"""
s = ro.system_from_text(lensdata, columns.split(),
description=description)
s.fields = 0, .7, 1.
s.object.angle = np.deg2rad(3.100000)
s.update()
print(s)
ro.Analysis(s)
System: US 2020/0049962 Example 1 (Nikon AF-S Nikkor 80-400mm f/4.5-5.6G ED VR) Scale: 1.0 mm Wavelengths: 588, 656, 486 nm Fields: 0, 0.7, 1 Object: Semi-Angle: 3.1 deg Pupil: Pupil Distance: 520.463 Refractive Index: 1.00028 Update Radius: True Radius: 33.8976 Image: Radius: 21.6 Update Radius: True Pupil: Pupil Distance: -111.077 Refractive Index: 1.00028 Update Radius: True Radius: 9.63278 Stop: 22 Elements: # T Distance Rad Curv Diameter Material n nd Vd 0 S 0 inf 97.656 basic/air 1.000 1.000 89.30 1 S 20 182.8 75.12 - 1.903 1.903 35.70 2 S 2.5 92.57 73.85 - 1.498 1.498 82.60 3 S 10 -707.4 73.85 basic/air 1.000 1.000 89.30 4 S 0.1 83.36 72.41 - 1.437 1.437 95.00 5 S 9.2 1420 72.41 basic/air 1.000 1.000 89.30 6 S 64.292 117.1 48.15 - 1.801 1.801 34.90 7 S 6.4 -117 46.88 - 1.498 1.498 82.60 8 S 2.2 61.18 39.53 basic/air 1.000 1.000 89.30 9 S 5.81 -265.1 36.35 - 1.816 1.816 46.60 10 S 2 30.78 33.47 - 1.805 1.805 25.50 11 S 4.6 92.26 33.47 basic/air 1.000 1.000 89.30 12 S 6.2 -56.34 31.88 - 1.835 1.835 42.70 13 S 2 159 33.32 basic/air 1.000 1.000 89.30 14 S 3.056 112.3 33.64 - 1.593 1.593 67.90 15 S 4.6 -78.69 33.64 basic/air 1.000 1.000 89.30 16 S 0.1 67.61 33.64 - 1.904 1.904 31.30 17 S 1.8 35.5 33.17 - 1.593 1.593 67.90 18 S 6.4 -238.2 33.17 basic/air 1.000 1.000 89.30 19 S 29.391 -58.47 27.58 - 1.729 1.729 54.60 20 S 1.6 39 27.58 - 1.903 1.903 35.70 21 S 3.6 146.9 27.58 basic/air 1.000 1.000 89.30 22 S 2.382 inf 26.399 basic/air 1.000 1.000 89.30 23 S 2 124.1 29.04 - 1.744 1.744 44.80 24 S 3.4 -124.1 29.04 basic/air 1.000 1.000 89.30 25 S 0.1 26.61 28.31 - 1.487 1.487 70.30 26 S 6.8 inf 26.89 - 1.950 1.950 29.40 27 S 2 26.44 25.66 - 1.517 1.517 52.20 28 S 4.8 inf 25.66 basic/air 1.000 1.000 89.30 29 S 17.6 176.2 24.44 - 1.648 1.648 33.70 30 S 6 -19.7 24.44 - 1.603 1.603 65.40 31 S 1.6 inf 24.44 basic/air 1.000 1.000 89.30 32 S 11.27 -22.13 24.85 - 1.835 1.835 42.70 33 S 1.6 -33.75 25.77 basic/air 1.000 1.000 89.30 34 S 77.1 inf 43.2 basic/air 1.000 1.000 89.30 System: US 2020/0049962 Example 1 (Nikon AF-S Nikkor 80-400mm f/4.5-5.6G ED VR) Scale: 1.0 mm Wavelengths: 588, 656, 486 nm Fields: 0, 0.7, 1 Object: Semi-Angle: 3.1 deg Pupil: Pupil Distance: 520.463 Refractive Index: 1.00028 Update Radius: True Radius: 33.8976 Image: Radius: 21.6 Update Radius: True Pupil: Pupil Distance: -111.077 Refractive Index: 1.00028 Update Radius: True Radius: 9.63278 Stop: 22 Elements: # T Distance Rad Curv Diameter Material n nd Vd 0 S 0 inf 97.656 basic/air 1.000 1.000 89.30 1 S 20 182.8 75.12 - 1.903 1.903 35.70 2 S 2.5 92.57 73.85 - 1.498 1.498 82.60 3 S 10 -707.4 73.85 basic/air 1.000 1.000 89.30 4 S 0.1 83.36 72.41 - 1.437 1.437 95.00 5 S 9.2 1420 72.41 basic/air 1.000 1.000 89.30 6 S 64.292 117.1 48.15 - 1.801 1.801 34.90 7 S 6.4 -117 46.88 - 1.498 1.498 82.60 8 S 2.2 61.18 39.53 basic/air 1.000 1.000 89.30 9 S 5.81 -265.1 36.35 - 1.816 1.816 46.60 10 S 2 30.78 33.47 - 1.805 1.805 25.50 11 S 4.6 92.26 33.47 basic/air 1.000 1.000 89.30 12 S 6.2 -56.34 31.88 - 1.835 1.835 42.70 13 S 2 159 33.32 basic/air 1.000 1.000 89.30 14 S 3.056 112.3 33.64 - 1.593 1.593 67.90 15 S 4.6 -78.69 33.64 basic/air 1.000 1.000 89.30 16 S 0.1 67.61 33.64 - 1.904 1.904 31.30 17 S 1.8 35.5 33.17 - 1.593 1.593 67.90 18 S 6.4 -238.2 33.17 basic/air 1.000 1.000 89.30 19 S 29.391 -58.47 27.58 - 1.729 1.729 54.60 20 S 1.6 39 27.58 - 1.903 1.903 35.70 21 S 3.6 146.9 27.58 basic/air 1.000 1.000 89.30 22 S 2.382 inf 26.399 basic/air 1.000 1.000 89.30 23 S 2 124.1 29.04 - 1.744 1.744 44.80 24 S 3.4 -124.1 29.04 basic/air 1.000 1.000 89.30 25 S 0.1 26.61 28.31 - 1.487 1.487 70.30 26 S 6.8 inf 26.89 - 1.950 1.950 29.40 27 S 2 26.44 25.66 - 1.517 1.517 52.20 28 S 4.8 inf 25.66 basic/air 1.000 1.000 89.30 29 S 17.6 176.2 24.44 - 1.648 1.648 33.70 30 S 6 -19.7 24.44 - 1.603 1.603 65.40 31 S 1.6 inf 24.44 basic/air 1.000 1.000 89.30 32 S 11.27 -22.13 24.85 - 1.835 1.835 42.70 33 S 1.6 -33.75 25.77 basic/air 1.000 1.000 89.30 34 S 78.343 inf 43.2 basic/air 1.000 1.000 89.30 lagrange: -1.8372 track length: 225.4 object, image height: [28.2011 21.1796] front, back focal length (from PP): [-394.9119 394.9119] entry, exit pupil height: [33.8976 9.6328] entry, exit pupil distance: [500.4634 -33.9771] front, back focal distance: [-888.9789 78.2245] front, back principal distance: [-494.0669 -316.6874] front, back nodal distance: [-494.0669 -316.6874] front, back numerical aperture: [0. 0.0855] front, back f number: [ 5.8251 20.4983] front, back working f number: [ inf 5.8465] front, back airy radius: [ inf 0.0042] transverse, angular magnification: [-0. 3.519] # T path n axial y axial nu chief y chief nu 0 S 0 1 33.9 0 -28.2 0.0542 1 S 20 1.903 33.9 -0.1673 -27.12 0.1881 2 S 22.5 1.498 33.68 -0.02003 -26.87 0.07053 3 S 32.5 1 33.54 -0.04362 -26.4 0.0891 4 S 32.6 1.437 33.54 -0.2193 -26.39 0.2274 5 S 41.8 1 32.14 -0.2094 -24.93 0.2197 6 S 106.1 1.801 18.67 -0.3372 -10.81 0.2936 7 S 112.5 1.498 17.48 -0.3824 -9.771 0.319 8 S 114.7 1 16.91 -0.2449 -9.303 0.2433 9 S 120.5 1.816 15.49 -0.1972 -7.889 0.219 10 S 122.5 1.805 15.27 -0.1918 -7.648 0.2163 11 S 127.1 1 14.79 -0.06285 -7.097 0.1544 12 S 133.3 1.835 14.4 0.1504 -6.14 0.06349 13 S 135.3 1 14.56 0.2268 -6.071 0.03162 14 S 138.4 1.593 15.25 0.1462 -5.974 0.06317 15 S 143 1 15.67 0.02813 -5.792 0.1068 16 S 143.1 1.904 15.68 -0.1813 -5.781 0.1841 17 S 144.9 1.593 15.51 -0.04572 -5.607 0.135 18 S 151.3 1 15.32 -0.08387 -5.065 0.1476 19 S 180.6 1.729 12.86 0.07643 -0.7269 0.1386 20 S 182.2 1.903 12.93 0.01891 -0.5987 0.1412 21 S 185.8 1 12.96 0.09855 -0.3315 0.1392 22 S 188.2 1 13.2 0.09855 5.324e-15 0.1392 23 S 190.2 1.744 13.4 0.0183 0.2783 0.1375 24 S 193.6 1 13.43 -0.06217 0.5464 0.1342 25 S 193.7 1.487 13.43 -0.3079 0.5598 0.124 26 S 200.5 1.95 12.02 -0.3079 1.127 0.124 27 S 202.5 1.517 11.7 -0.1165 1.254 0.1445 28 S 207.3 1 11.33 -0.1165 1.711 0.1445 29 S 224.9 1.648 9.285 -0.1506 4.254 0.1289 30 S 230.9 1.603 8.736 -0.1704 4.723 0.1182 31 S 232.5 1 8.566 -0.1704 4.841 0.1182 32 S 243.8 1.835 6.646 0.08022 6.173 0.3509 33 S 245.4 1 6.716 -0.08586 6.479 0.1907 34 S 322.5 1 0.09839 -0.08586 21.18 0.1907 # T SA3 CMA3 AST3 PTZ3 DIS3 TACHC TCHC 0 S 0 0 0 0 0 0 0 1 S -0.3106 0.1577 -0.08009 -0.05046 0.06629 -0.9631 0.489 2 S 1.995 -1.384 0.9605 0.02986 -0.6872 1.888 -1.31 3 S -0.05558 0.07717 -0.1072 -0.009133 0.1615 -0.1416 0.1966 4 S -1.558 0.9883 -0.6268 -0.07091 0.4425 -0.4437 0.2814 5 S -0.6666 0.7212 -0.7803 0.004162 0.8398 -0.2213 0.2395 6 S 0.02826 -0.07206 0.1838 -0.07386 -0.2804 0.1369 -0.3491 7 S -2.461 1.803 -1.321 -0.01868 0.9813 -1.065 0.78 8 S -0.007252 -0.0209 -0.06026 0.1056 0.1307 0.02481 0.07151 9 S 1.519 -1.368 1.231 0.03296 -1.138 0.5222 -0.4701 10 S 0.04049 -0.01335 0.004405 0.002086 -0.002141 -0.9727 0.3208 11 S -0.003194 -0.00254 -0.00202 0.094 0.07314 0.2905 0.231 12 S 0.9043 -0.7482 0.6189 0.157 -0.6419 0.5629 -0.4657 13 S 1.549 -0.03201 0.0006616 0.05565 -0.001164 0.5693 -0.01177 14 S -1.956 0.1165 -0.006945 -0.06449 0.004257 -0.3495 0.02083 15 S -0.07806 0.0823 -0.08678 -0.09199 0.1885 -0.1695 0.1787 16 S -0.4777 -0.0391 -0.003201 -0.1365 -0.01144 -0.7127 -0.05834 17 S 1.21 -0.217 0.03893 0.0561 -0.01705 1.125 -0.2018 18 S -0.1277 0.1455 -0.1658 -0.03039 0.2235 -0.1435 0.1635 19 S 0.7485 -0.3943 0.2077 0.1402 -0.1833 0.3477 -0.1832 20 S -0.6397 -0.1103 -0.01902 -0.02631 -0.007815 -0.539 -0.09293 21 S 0.2433 0.1783 0.1307 0.0628 0.1418 0.371 0.2719 22 S -0 -0 -0 0 0 0 0 23 S -0.3045 -0.2086 -0.1429 -0.06682 -0.1436 -0.3036 -0.2079 24 S -0.1532 0.1168 -0.08897 -0.06682 0.1187 -0.2512 0.1914 25 S -1.167 -0.4096 -0.1438 -0.2394 -0.1345 -0.319 -0.112 26 S 0.3823 -0.1539 0.06198 -0 -0.02496 0.5081 -0.2046 27 S 0.6322 0.2465 0.09612 0.1076 0.07943 0.7519 0.2932 28 S -0.05833 0.07238 -0.08981 0 0.1114 -0.09936 0.1233 29 S 0.01325 -0.03507 0.09278 -0.04338 -0.1307 0.07957 -0.2105 30 S -0.4241 -0.1281 -0.03868 -0.01671 -0.01672 -0.5247 -0.1585 31 S -0.1491 0.1034 -0.07171 0 0.04973 -0.09674 0.06709 32 S 1.649 0.5631 0.1923 0.3997 0.2022 0.3843 0.1313 33 S -0.3446 -0.001566-7.114e-06 -0.2621 -0.001191 -0.235 -0.001068 34 S 0 -0 0 0 0 -0 0 -0.02814 0.03358 -0.01467 -0.02017 0.3924 0.01181 0.01311
<rayopt.analysis.Analysis at 0x226a6c05978>