Changeset 330 for trunk/src/stgen.py
- Timestamp:
- 11/13/08 11:27:36 (4 years ago)
- Files:
-
- 1 modified
-
trunk/src/stgen.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/stgen.py
r323 r330 160 160 def poisson_generator(self, rate, t_start=0.0, t_stop=1000.0, array=False,debug=False): 161 161 """ 162 Returns a Spike Listwhose spikes are a realization of a Poisson process162 Returns a SpikeTrain whose spikes are a realization of a Poisson process 163 163 with the given rate (Hz) and stopping time t_stop (milliseconds). 164 164 … … 168 168 Inputs: 169 169 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) 172 172 array - if True, a numpy array of sorted spikes is returned, 173 rather than a Spike Listobject.173 rather than a SpikeTrain object. 174 174 175 175 Examples:
