issue808.py 147 B

12345678
  1. import quantities as pq
  2. import numpy as np
  3. import neo
  4. times = np.arange(0, 3) * pq.s
  5. ev = neo.Event(
  6. times=times
  7. )
  8. new_time = ev.rescale('us')