Skip to content

Commit cda3281

Browse files
authored
Merge pull request #1505 from zm711/raw-binary
RawBinarySignalIRawIO: add `dat` extension as possibility
2 parents ad38785 + 9b9552a commit cda3281

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neo/rawio/rawbinarysignalrawio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class RawBinarySignalRawIO(BaseRawIO):
3636
Parameters
3737
----------
3838
filename: str, default: ''
39-
The *.raw or *.bin binary file to load
39+
The *.raw, *.bin, or *.dat binary file to load
4040
dtype: np.dtype, default: 'int16'
4141
The dtype that the data is stored with. Must be acceptable by the numpy.dtype constructor
4242
sampling_rate: float, default: 10000.0
@@ -51,7 +51,7 @@ class RawBinarySignalRawIO(BaseRawIO):
5151
The offset for the bytes
5252
"""
5353

54-
extensions = ["raw", "bin"]
54+
extensions = ["raw", "bin", "dat"]
5555
rawmode = "one-file"
5656

5757
def __init__(

0 commit comments

Comments
 (0)