Changeset 220 for trunk/examples/retina/benchmark_linear.py
- Timestamp:
- 10/17/08 13:33:10 (4 years ago)
- Files:
-
- 1 modified
-
trunk/examples/retina/benchmark_linear.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/retina/benchmark_linear.py
r172 r220 20 20 N, N_exp = 1000, 6 21 21 p = ParameterSet({}) 22 t_smooth = 100. # ms. integration time to show fiber activity22 t_smooth = 100. # width (in ms) of the integration window 23 23 from retina import * 24 24 retina = Retina(N) … … 27 27 results = shelve.open('results/mat-' + name) 28 28 try: 29 #boing # to force recomputing 29 30 30 temporal_ON = results['temporal_ON'] 31 31 temporal_OFF = results['temporal_OFF'] … … 42 42 lower_edges = data['out_ON_DATA'].time_axis(t_smooth) 43 43 N_smooth = len(lower_edges) 44 44 45 temporal_ON, temporal_OFF = [],[] 45 46 … … 73 74 """ Figure 1 74 75 75 Prints to a figure the mean firing rate for the output (ON and OFF) as a function of the different parameter values. It's similar to a CRF function. 76 Prints to a figure the mean firing rate for the output (ON and OFF) as a function 77 of the different parameter values. It's similar to a CRF function. 76 78 77 79 """
