pynwb icon indicating copy to clipboard operation
pynwb copied to clipboard

add UnitSeries

Open bendichter opened this issue 5 years ago • 7 comments

Motivation

Part of plan to make spike waveforms accessible from Units table. See https://github.com/NeurodataWithoutBorders/nwb-schema/issues/248

How to test the behavior?

from pynwb.misc import Units, UnitSeries

units = Units()
us = UnitSeries('test_unit_series', np.array([0, 0, 1, 1], dtype=int), timestamps=[.1, .2, .3, .4], units=units, description='description')

Checklist

  • [x] Have you checked our Contributing document?
  • [x] Have you ensured the PR description clearly describes problem and the solution?
  • [x] Is your contribution compliant with our coding style ? This can be checked running flake8 from the source directory.
  • [x] Have you checked to ensure that there aren't other open Pull Requests for the same change?
  • [x] Have you included the relevant issue number using #XXX notation where XXX is the issue number ?

bendichter avatar Feb 18 '19 22:02 bendichter