blob: 60ef3519328040ff8b224d4d775d617aedf0e592 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
from prismDiskCoupling import *
# prismDiskCoupling(prismAngle, nDisk, nPrism, diskX, coupDesc)
# prismAngle - angle of bottom right prism corner
# nDisk - disk index of refraction
# nPrism - prism index of refraction
# diskX - x coordinate of disk contact, can be between (-1, 1)
# coupDesc - coupling description of prism/disk info
prismAngle = 60
#prismAngle = 45
#nDisk = 1.430 # CaF2
nDisk = 2.256 # LiNbO3
#nDisk = 2.176
#nPrism = 2.52 # Rutile (TiO2)
nPrism = 2.400 # Diamond (C)
prismDiskCoupling(prismAngle, nDisk, nPrism, 0.0, 'Blank')
pylab.show()
|