Converting from the Open Ephys format to Binary/.dat?

670 views
Skip to first unread message

Ryan Loh

unread,
May 9, 2018, 3:41:23 PM5/9/18
to Open Ephys

Hi all,
I am trying to find a script to convert my recorded continuous data (currently as .continuous), into binary (.dat) format that can be used with JRClust. Does anyone have experience doing this?

Thanks
Ryan

  

Balaji

unread,
May 9, 2018, 4:28:37 PM5/9/18
to Open Ephys
Look here: https://github.com/open-ephys/analysis-tools/blob/master/Python3/OpenEphys.py

The package contain a function pack()/pack_2() {The functions are effectively identical, though I tend to use pack_2 for speed).

I'd suggest running that script in a klusta environment to ensure that all dependencies are met for the python. See https://github.com/kwikteam/klusta/#quick-install-guide for instructions.

-b

Ryan Loh

unread,
May 9, 2018, 4:31:58 PM5/9/18
to Open Ephys
I'll give that a shot, Thanks Balaji!

Chris Rodgers

unread,
May 10, 2018, 2:56:56 PM5/10/18
to Open Ephys
Please also see here:

It contains all the performance improvements of pack_2. Also, I updated it to be a bit more full featured: you can specify which recording number you want within the folder, and also which record you start and stop on. 

It is Python 2 only, unfortunately. Should be easy to port to Python 3 but I have not done this.



On Wednesday, May 9, 2018 at 3:41:23 PM UTC-4, Ryan Loh wrote:
Reply all
Reply to author
Forward
0 new messages