summaryrefslogtreecommitdiff
path: root/beam_tracing/python/demoPrismDiskCoupling.py
diff options
context:
space:
mode:
Diffstat (limited to 'beam_tracing/python/demoPrismDiskCoupling.py')
-rw-r--r--beam_tracing/python/demoPrismDiskCoupling.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/beam_tracing/python/demoPrismDiskCoupling.py b/beam_tracing/python/demoPrismDiskCoupling.py
new file mode 100644
index 0000000..60ef351
--- /dev/null
+++ b/beam_tracing/python/demoPrismDiskCoupling.py
@@ -0,0 +1,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() \ No newline at end of file