Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create IntanBinaryRawIO #1318

Closed
wants to merge 16 commits into from
Closed
7 changes: 7 additions & 0 deletions neo/io/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
* :attr:`ElanIO`
* :attr:`IgorIO`
* :attr:`IntanIO`
* :attr:`IntanBinaryIO`
* :attr:`MEArecIO`
* :attr:`KlustaKwikIO`
* :attr:`KwikIO`
Expand Down Expand Up @@ -151,6 +152,10 @@

.. autoattribute:: extensions

.. autoclass:: neo.io.IntanBinaryIO

.. autoattribute:: extensions

.. autoclass:: neo.io.KlustaKwikIO

.. autoattribute:: extensions
Expand Down Expand Up @@ -314,6 +319,7 @@
from neo.io.exampleio import ExampleIO
from neo.io.igorproio import IgorIO
from neo.io.intanio import IntanIO
from neo.io.intanbinaryio import IntanBinaryIO
from neo.io.klustakwikio import KlustaKwikIO
from neo.io.kwikio import KwikIO
from neo.io.mearecio import MEArecIO
Expand Down Expand Up @@ -368,6 +374,7 @@
ExampleIO,
IgorIO,
IntanIO,
IntanBinaryIO,
KlustaKwikIO,
KwikIO,
MEArecIO,
Expand Down
11 changes: 11 additions & 0 deletions neo/io/intanbinaryio.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from neo.io.basefromrawio import BaseFromRaw
from neo.rawio.intanbinaryrawio import IntanBinaryRawIO


class IntanBinaryIO(IntanBinaryRawIO, BaseFromRaw):
__doc__ = IntanBinaryRawIO.__doc__
_prefered_signal_group_mode = 'group-by-same-units'

def __init__(self, dirname):
IntanBinaryRawIO.__init__(self, dirname=dirname)
BaseFromRaw.__init__(self, dirname)
5 changes: 5 additions & 0 deletions neo/rawio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@

.. autoattribute:: extensions

.. autoclass:: neo.rawio.IntanBinaryRawIO
.. autoattribute:: extensions

.. autoclass:: neo.rawio.MaxwellRawIO

.. autoattribute:: extensions
Expand Down Expand Up @@ -189,6 +192,7 @@
from neo.rawio.elanrawio import ElanRawIO
from neo.rawio.examplerawio import ExampleRawIO
from neo.rawio.intanrawio import IntanRawIO
from neo.rawio.intanbinaryrawio import IntanBinaryRawIO
from neo.rawio.maxwellrawio import MaxwellRawIO
from neo.rawio.mearecrawio import MEArecRawIO
from neo.rawio.medrawio import MedRawIO
Expand Down Expand Up @@ -223,6 +227,7 @@
EDFRawIO,
ElanRawIO,
IntanRawIO,
IntanBinaryRawIO,
MicromedRawIO,
MaxwellRawIO,
MEArecRawIO,
Expand Down
Loading
Loading