Skip to content

Commit

Permalink
Merge pull request #1505 from zm711/raw-binary
Browse files Browse the repository at this point in the history
RawBinarySignalIRawIO: add `dat` extension as possibility
  • Loading branch information
samuelgarcia authored Jul 24, 2024
2 parents ad38785 + 9b9552a commit cda3281
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neo/rawio/rawbinarysignalrawio.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class RawBinarySignalRawIO(BaseRawIO):
Parameters
----------
filename: str, default: ''
The *.raw or *.bin binary file to load
The *.raw, *.bin, or *.dat binary file to load
dtype: np.dtype, default: 'int16'
The dtype that the data is stored with. Must be acceptable by the numpy.dtype constructor
sampling_rate: float, default: 10000.0
Expand All @@ -51,7 +51,7 @@ class RawBinarySignalRawIO(BaseRawIO):
The offset for the bytes
"""

extensions = ["raw", "bin"]
extensions = ["raw", "bin", "dat"]
rawmode = "one-file"

def __init__(
Expand Down

0 comments on commit cda3281

Please sign in to comment.