summaryrefslogtreecommitdiff
path: root/photon.py
diff options
context:
space:
mode:
Diffstat (limited to 'photon.py')
-rw-r--r--photon.py3
1 files changed, 0 insertions, 3 deletions
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)