Show
Ignore:
Timestamp:
02/12/08 19:35:50 (4 years ago)
Author:
LaurentPerrinet
Message:

small changes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/examples/single_neuron/simple_single_neuron.py

    r93 r113  
    1111Refactored to use the new NeuroTools-- Nov 2007 
    1212 
    13 $ Id $ 
     13$ Id $‚ 
    1414 
    1515""" 
     
    1818import numpy 
    1919import sys, os, tempfile 
     20# choosing the simulator 
    2021import pyNN.nest1 as sim 
     22# the link to read SpikeList files with NeuroTools 
    2123from NeuroTools.spikes import loadSpikeList 
     24# taking the template class for models 
    2225from NeuroTools.benchmark import Model 
     26# using parameters utility 
     27from NeuroTools.parameters import ParameterSet 
    2328 
    2429class FiberChannel(Model): 
     
    3843        'kernelseed' : 4321097,       # array with one element per thread 
    3944        'connectseed' : 12345789,  # seed for random generator(s) used during simulation 
     45        'url_param' : "https://neuralensemble.org/svn/NeuroTools/trunk/muller_etal2007.param" 
    4046        } 
    4147 
    42  
     48#cell_params = url() 
    4349 
    4450    def run(self,params): 
    45  
    4651        tmpdir = tempfile.mkdtemp() 
    4752        # === Build the network ======================================================== 
     
    112117    from NeuroTools.plotting import raster_plot 
    113118    raster_plot(output) 
     119    import pylab 
     120    pylab.show()