Changeset 330 for trunk/src/stgen.py

Show
Ignore:
Timestamp:
11/13/08 11:27:36 (4 years ago)
Author:
apdavison
Message:

Various minor changes. Corrected metadata in setup.py

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/stgen.py

    r323 r330  
    160160    def poisson_generator(self, rate, t_start=0.0, t_stop=1000.0, array=False,debug=False): 
    161161        """ 
    162         Returns a SpikeList whose spikes are a realization of a Poisson process 
     162        Returns a SpikeTrain whose spikes are a realization of a Poisson process 
    163163        with the given rate (Hz) and stopping time t_stop (milliseconds). 
    164164 
     
    168168        Inputs: 
    169169            rate    - the rate of the discharge (in Hz) 
    170             t_start - the beginning of the final SpikeTrain object (in ms) 
    171             t_stop  - the end of the final SpikeTrain object (in ms) 
     170            t_start - the beginning of the SpikeTrain (in ms) 
     171            t_stop  - the end of the SpikeTrain (in ms) 
    172172            array   - if True, a numpy array of sorted spikes is returned, 
    173                       rather than a SpikeList object. 
     173                      rather than a SpikeTrain object. 
    174174 
    175175        Examples: