summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Seibert <stan@mtrr.org>2011-08-05 22:49:40 -0400
committerStan Seibert <stan@mtrr.org>2011-08-05 22:49:40 -0400
commit3a8a4c4dd095ff25a1dbe70e387e166f43a5644b (patch)
treec474fc8578ed6b9f3427cb2dbe4338ba7ea02643
parentfb69b3c60399a614b225591c071143fb8bbdd58f (diff)
downloadchroma-3a8a4c4dd095ff25a1dbe70e387e166f43a5644b.tar.gz
chroma-3a8a4c4dd095ff25a1dbe70e387e166f43a5644b.tar.bz2
chroma-3a8a4c4dd095ff25a1dbe70e387e166f43a5644b.zip
Cut off the index of refraction for water below 260 nm, which can't
be observed anyway. Speed increase of 20% in full size LBNE.
-rw-r--r--optics.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/optics.py b/optics.py
index 3580dc4..c1fcf0a 100644
--- a/optics.py
+++ b/optics.py
@@ -116,9 +116,9 @@ water.scattering_length = \
[ 780. , 2628.25 ],
[ 800. , 2908.36010742]], dtype=np.float32)
water.refractive_index = \
- np.array([[ 200. , 1.41614997],
- [ 220. , 1.39726996],
- [ 240. , 1.38395 ],
+ np.array([#[ 200. , 1.41614997],
+ #[ 220. , 1.39726996],
+ #[ 240. , 1.38395 ],
[ 260. , 1.37414002],
[ 280. , 1.36667001],
[ 300. , 1.36082006],