diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2013-02-28 14:59:55 -0500 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2013-02-28 14:59:55 -0500 |
commit | e4360a48435cc762855d356b208b5544e6f40c4b (patch) | |
tree | 71c6c83c247cb07495265b93ec062eefc3e928a8 /beam_tracing/python/demoPrismDiskCoupling.py | |
parent | a08ed173692ce16b79002733003049ec32a02485 (diff) | |
download | wgmr-e4360a48435cc762855d356b208b5544e6f40c4b.tar.gz wgmr-e4360a48435cc762855d356b208b5544e6f40c4b.zip |
Added python version of mode-matching code by Bain Bronner
Diffstat (limited to 'beam_tracing/python/demoPrismDiskCoupling.py')
-rw-r--r-- | beam_tracing/python/demoPrismDiskCoupling.py | 21 |
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 |