Backport AxographRawIO into 0.7.x maintenance branch (#682)
* AxographRawIO WIP: Copy of example with working tests * AxographRawIO WIP: RawIO and IO working Dependency on axographio package eliminated! Still missing multi-segment support, and there are new metadata available from AxoGraph files (events, epochs) that should be made accessible to Neo. Also need lots and lots of tests. * AxographRawIO WIP: Python 2 support * AxographRawIO WIP: Implement Events and Epochs * AxographRawIO WIP: Implement multi-Segment for episodic files * AxographRawIO WIP: Fix for old formats * AxographRawIO WIP: Add some basic annotations * AxographRawIO WIP: Filter events/epochs by time when lazy loading * AxographRawIO WIP: Comments * AxographRawIO WIP: Another condition for episodic * AxographRawIO WIP: Add rec_datetime and file_datetime * AxographRawIO WIP: Add tests * AxographRawIO WIP: Return None for unsupported objects * AxographRawIO WIP: Re-alphabetize * AxographRawIO WIP: Remove old non-raw code * Fix divide by zero in benchmark_speed_read_signals If read times are fast enough (especially in Python 2, perhaps because of a lower precision performance counter?), division by zero can happen when calculating speed in `benchmark_speed_read_signals `. This commit catches this problem. * AxographRawIO WIP: Documentation * AxographRawIO WIP: PEP8 * AxographRawIO WIP: More PEP8 * AxographRawIO WIP: Remove spaces from test file names * AxographRawIO: Fix minor typos and poor variable name choice * AxoGraphRawIO: Catch bad datetime string parsed from notes * AxographRawIO: Fix typo in comment * AxographRawIO: Catch rec_datetime not set if datetime_string is empty
Showing
- .circleci/requirements_testing.txt 0 additions, 1 deletion.circleci/requirements_testing.txt
- neo/io/__init__.py 2 additions, 2 deletionsneo/io/__init__.py
- neo/io/axographio.py 42 additions, 138 deletionsneo/io/axographio.py
- neo/rawio/__init__.py 2 additions, 0 deletionsneo/rawio/__init__.py
- neo/rawio/axographrawio.py 1496 additions, 0 deletionsneo/rawio/axographrawio.py
- neo/rawio/tests/rawio_compliance.py 4 additions, 1 deletionneo/rawio/tests/rawio_compliance.py
- neo/rawio/tests/test_axographrawio.py 30 additions, 0 deletionsneo/rawio/tests/test_axographrawio.py
- neo/test/iotest/test_axographio.py 169 additions, 5 deletionsneo/test/iotest/test_axographio.py
- setup.py 0 additions, 1 deletionsetup.py
Please register or sign in to comment