Skip to content

Commit 3af5be4

Browse files
committed
Remove neo Block support, allow filtering with lsx files
Don't use neo Block, only use neo Segment. Allow providing list of lsx files referencing mpx files to load. If not provided, load all mpx files available in dirname
1 parent f498128 commit 3af5be4

File tree

3 files changed

+249
-251
lines changed

3 files changed

+249
-251
lines changed

neo/io/alphaomegaio.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
class AlphaOmegaIO(AlphaOmegaRawIO, BaseFromRaw):
66
"""Class for reading data from AlphaOmega MPX file"""
77

8-
def __init__(self, filename):
9-
AlphaOmegaRawIO.__init__(self, dirname=filename)
8+
__doc__ = AlphaOmegaRawIO.__doc__
9+
10+
def __init__(self, filename, lsx_files=None, prune_channels=True):
11+
AlphaOmegaRawIO.__init__(
12+
self,
13+
dirname=filename,
14+
lsx_files=lsx_files,
15+
prune_channels=prune_channels,
16+
)
1017
BaseFromRaw.__init__(self, filename)

0 commit comments

Comments
 (0)