From 909309302c83423994e9c1dd36a3309890a67b90 Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Tue, 17 May 2011 16:58:36 -0400 Subject: added documentation --- photon.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'photon.py') diff --git a/photon.py b/photon.py index 3472c1e..b58a97b 100644 --- a/photon.py +++ b/photon.py @@ -1,4 +1,3 @@ -import time import numpy as np def uniform_sphere(size=None): @@ -13,8 +12,6 @@ def uniform_sphere(size=None): source: Weisstein, Eric W. "Sphere Point Picking." Mathworld. """ - t0 = time.time() - theta, u = np.random.uniform(0.0, 2*np.pi, size), \ np.random.uniform(-1.0, 1.0, size) -- cgit