diff options
author | Stan Seibert <stan@mtrr.org> | 2011-08-12 18:05:31 -0400 |
---|---|---|
committer | Stan Seibert <stan@mtrr.org> | 2011-08-12 18:05:31 -0400 |
commit | 3e02fe2a94366f2908006d41f7609f0e9555315b (patch) | |
tree | 9ff6761cef9aa8bc68aedb6684c8b20eb897b1dd | |
parent | 9cdaa78716037257d6cad20e961db045c303e640 (diff) | |
download | chroma-3e02fe2a94366f2908006d41f7609f0e9555315b.tar.gz chroma-3e02fe2a94366f2908006d41f7609f0e9555315b.tar.bz2 chroma-3e02fe2a94366f2908006d41f7609f0e9555315b.zip |
Widen the field of view in camera to make it easier to look at Cherenkov rings from inside the detector.
-rwxr-xr-x | camera.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |