Show
Ignore:
Timestamp:
10/17/08 13:33:10 (4 years ago)
Author:
LaurentPerrinet
Message:

Getting examples to work cleanly; separating the audio capabities to one of the examples to be more serious...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/examples/retina/benchmark_linear.py

    r172 r220  
    2020N, N_exp = 1000, 6 
    2121p = ParameterSet({}) 
    22 t_smooth = 100. # ms.  integration time to show fiber activity 
     22t_smooth = 100. # width (in ms) of the integration window 
    2323from retina import * 
    2424retina = Retina(N) 
     
    2727results = shelve.open('results/mat-' + name) 
    2828try: 
    29     #boing # to force recomputing 
     29 
    3030    temporal_ON = results['temporal_ON'] 
    3131    temporal_OFF = results['temporal_OFF'] 
     
    4242    lower_edges = data['out_ON_DATA'].time_axis(t_smooth) 
    4343    N_smooth = len(lower_edges) 
     44     
    4445    temporal_ON, temporal_OFF = [],[] 
    4546 
     
    7374""" Figure 1 
    7475 
    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. 
     76Prints to a figure the mean firing rate for the output (ON and OFF) as a function 
     77of the different parameter values. It's similar to a CRF function. 
    7678 
    7779"""