From 3e02fe2a94366f2908006d41f7609f0e9555315b Mon Sep 17 00:00:00 2001 From: Stan Seibert Date: Fri, 12 Aug 2011 18:05:31 -0400 Subject: Widen the field of view in camera to make it easier to look at Cherenkov rings from inside the detector. --- camera.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/camera.py b/camera.py index 52a0add..d2d5d6c 100755 --- a/camera.py +++ b/camera.py @@ -36,7 +36,7 @@ def encode_movie(dir): print 'movie saved to %s.' % filename -def get_rays(position, size = (800, 600), width = 0.035, focal_length=0.05): +def get_rays(position, size = (800, 600), width = 0.035, focal_length=0.018): height = width*(size[1]/float(size[0])) x = np.linspace(-width/2, width/2, size[0]) @@ -84,7 +84,7 @@ class Camera(Thread): self.nblocks = 64 - self.point = np.array([0, self.scale*1.75, (lower_bound[2]+upper_bound[2])/2]) + self.point = np.array([0, self.scale*1.0, (lower_bound[2]+upper_bound[2])/2]) self.axis1 = np.array([1,0,0], float) self.axis2 = np.array([0,0,1], float) -- cgit