Changeset 446 for trunk/src/stgen.py

Show
Ignore:
Timestamp:
04/12/10 15:37:12 (2 years ago)
Author:
apdavison
Message:

SpikeTrain.time_slice() now (again) accepts a sequence of t_start values and a sequence of t_stop values, if you wish to extract multiple slices.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/stgen.py

    r438 r446  
    243243    def inh_poisson_generator(self, rate, t, t_stop, array=False): 
    244244        """ 
    245         Returns a SpikeList whose spikes are a realization of an inhomogeneous  
     245        Returns a SpikeTrain whose spikes are a realization of an inhomogeneous  
    246246        poisson process (dynamic rate). The implementation uses the thinning  
    247247        method, as presented in the references.