Skip to content

Commit 3a99370

Browse files
committed
removed time
1 parent 039c839 commit 3a99370

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

code/python/cni_toolbox/pRF.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import sys
2121
import cv2
2222
import glob
23-
import time
2423
import numpy as np
2524
import tkinter as tk
2625
from tkinter import filedialog
@@ -273,8 +272,7 @@ def create_timecourses(self, max_radius = 10.0, n_xy = 30,
273272
self.slope = np.linspace(min_slope, max_slope, n_slope)
274273

275274
W = np.zeros((self.n_points,
276-
self.w_stimulus * self.h_stimulus))
277-
start = time.time()
275+
self.w_stimulus * self.h_stimulus))
278276
print('\ncreating timecourses')
279277
for p in range(self.n_points):
280278
x = np.cos(self.pa[self.idx[p, 0]]) * self.ecc[self.idx[p, 1]]
@@ -342,7 +340,6 @@ def mapping(self, data, threshold = 100, mask = []):
342340
'mu_y': np.zeros(self.n_total),
343341
'sigma': np.zeros(self.n_total)}
344342

345-
start = time.time()
346343
print('\nmapping receptive fields')
347344
if self.hrf_fft.ndim==1:
348345
tc = np.transpose(

0 commit comments

Comments
 (0)