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)
    def testMerge(self):
        spk = spikes.SpikeTrain(numpy.arange(0,110,10))
        spk2 = spikes.SpikeTrain(numpy.arange(100,210,10))
        spk.merge(spk2)
        assert (spk.t_stop == 200) and (len(spk) == 22)