From 0dbfc2d7dc547452372d776ba74ec77838300a9a Mon Sep 17 00:00:00 2001 From: Stan Seibert Date: Tue, 16 Aug 2011 13:47:45 -0400 Subject: Draw hits with charge rather than time. --- camera.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camera.py') diff --git a/camera.py b/camera.py index d7c2038..fa38060 100755 --- a/camera.py +++ b/camera.py @@ -457,7 +457,7 @@ class EventViewer(Camera): hit = hit.astype(np.bool) # Important: Compute range only with HIT channels - solid_colors = map_to_color(t, range=(t[hit].min(),t[hit].mean())) + solid_colors = map_to_color(q, range=(q[hit].min(),q[hit].max())) self.gpu.color_solids(hit, solid_colors) self.update() -- cgit