Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/n/e/NeuroTools-0.2.0/test/test_spikes.py   NeuroTools(Download)
        poisson_times = numpy.cumsum(isi)*1000. # To convert the spikes_time in ms
        spk = spikes.SpikeTrain(poisson_times)
        assert   35 < spk.mean_rate() < 45
 
    # def testMeanRateParams(self):