Пример #1
0
 def test__bintime(self):
     t = 13 * pq.ms
     bin_size = 3 * pq.ms
     expected = 4
     self.assertTrue(np.allclose(expected, ue._bintime(t, bin_size)))
 def test__bintime(self):
     t = 13*pq.ms
     binsize = 3*pq.ms
     expected = 4
     self.assertTrue(np.allclose(expected,ue._bintime(t,binsize)))