summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--optics.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/optics.py b/optics.py
index dea5a20..3580dc4 100644
--- a/optics.py
+++ b/optics.py
@@ -3,8 +3,8 @@ from geometry import Material, Surface
vacuum = Material('vacuum')
vacuum.set('refractive_index', 1.0)
-vacuum.set('absorption_length', np.inf)
-vacuum.set('scattering_length', np.inf)
+vacuum.set('absorption_length', 1e6)
+vacuum.set('scattering_length', 1e6)
lambertian_surface = Surface('lambertian_surface')
lambertian_surface.set('reflect_diffuse', 1)
@@ -153,7 +153,7 @@ glass = Material('glass')
glass.set('refractive_index', 1.49)
glass.absorption_length = \
np.array([(200, 0.1e-6), (300, 0.1e-6), (330, 1.0), (500, 2.0), (600, 1.0), (770, 0.5), (800, 0.1e-6)])
-glass.set('scattering_length', np.inf)
+glass.set('scattering_length', 1e6)
# From SNO+ database
acrylic_sno = Material('acrylic_sno')