pynwb
pynwb copied to clipboard
add UnitSeries
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 whereXXX
is the issue number ?