You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IntanIO problem with one file per stream format #1556
What is the problem?
IntanIO reads problematic. The function works well with rhd files but is problematic with dat files. Here are the pictures of the result.
When reading .dat file from numpy directly(Fig 1), everything goes well. But the IntanIO seems wrongly loaded data. I doubt whether the data type is causing this problem. [.rhd, uint16; .dat, int16].
Suggestions for fixing the problem
Could you please provide more information about reading .dat files?
Activity
zm711 commentedon Sep 16, 2024
That looks like a scaling error. I'll look into this later today. Which version one file-per channel or one file per stream?
What script did you run? I want to make sure the scaling happened correctly so I need to see what code you specifically ran to get this :)
Tevin-yue commentedon Sep 18, 2024
The simulated data were generated using Intan version 3.3.1.
Here is the code:
The scale is correct but not the wavefoms with .dat files.
[-]About IntanIO problem[/-][+]IntanIO problem with one file per stream format[/+]zm711 commentedon Sep 18, 2024
Linked a PR that should fix it!
Tevin-yue commentedon Sep 19, 2024
Great!
Everything is going well. I revised the intanrawio script as you showed.