Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion of multichannel raw data from .mat (matlab) to binary dat format #66

Open
saman-abbaspoor opened this issue Feb 24, 2020 · 1 comment

Comments

@saman-abbaspoor
Copy link

Hello everyone,

We are using 64 channel probes for recording and I would like to use Klusta for spike detection. The data is in .mat format and I am not sure how to convert them into the required format for Klusta use. I use a simple code as following:

**Data = a matrix with time * channel (e.g. Ntimestamp * 64) shape

fileID = fopen('myDataset.dat','w');
fwrite(fileID, Data, 'uint16');
fclose(fileID);**

Would this work?

@rossant
Copy link
Member

rossant commented Feb 26, 2020

I think so, let me know if it doesn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants