Show
Ignore:
Timestamp:
01/12/08 21:42:26 (4 years ago)
Author:
LaurentPerrinet
Message:

Modification of the SpikeTrain and SpikeList classes from the CodeSprint? (TM). Getting the rest to work with the new methods...

Files:
1 modified

Legend:

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

    r77 r84  
    5050    pylab.xlabel('Noise amplitude') 
    5151    pylab.axis('tight') 
    52     pylab.savefig(benchmark.filename + '/benchmark_noise.png')#, dpi=300) # 
     52    pylab.savefig(benchmark.name + '/benchmark_noise.png')#, dpi=300) # 
    5353    #command = 'epstopdf  "%s" "%s"'% (pdffile, psfile) 
    5454    #os.system(command) 
     
    7171    tag = 'test' # going OO 
    7272 
    73     filename = 'results/' + tag + '_benchmark_noise' 
     73    name = 'results/' + tag + '_benchmark_noise' 
    7474 
    7575    # create the list of experiments as all possibilities accross parameter vectors 
     
    7777 
    7878    # create benchmark (or open it if it exists) 
    79     B = benchmark.Benchmark(filename,ret,run) 
     79    B = benchmark.Benchmark(name,ret,run) 
    8080    # there are many ways to get data from the benchmark. see benchmark.py 
    8181    B.run_simulations()