MultimodalNeuroimagingLab / BCI2000toBIDS

Code and documentation to help convert BCI2000 data to BIDS
GNU General Public License v3.0
0 stars 1 forks source link

Starting issue 1 for BCI2000 to BIDS: create basic BIDS directory #1

Open dorahermes opened 3 years ago

dorahermes commented 3 years ago

create Matlab script that creates a basic BIDS directory based on BCI2000 file subject, session and run information.

Function should load the BCI2000 data, and create a folder that is BIDS conform.

adityaofficial10 commented 3 years ago

@dorahermes Can I work on this issue? I have gone through the BIDS structure.

adityaofficial10 commented 3 years ago

We will receive a BCI2000 data file (.dat file). Right??

dorahermes commented 3 years ago

Thank you for the questions! I just added links to three example datasets in the README, also copying here:

https://www.dropbox.com/s/5cj4jgl2y8heddv/Left_Right_Screening.zip?dl=0

https://www.dropbox.com/s/92hrkh2or0n6nl3/P300_Speller.zip?dl=0

https://www.dropbox.com/s/1jkgc0ddbwcf67d/React_Task.zip?dl=0

adityaofficial10 commented 3 years ago

Sure, I'll come up with the script in a day. Thanks & Regards...

dorahermes commented 3 years ago

Sounds good, please let us know if you have any questions!

adityaofficial10 commented 3 years ago

@dorahermes Sure, I'll.

adityaofficial10 commented 3 years ago

@dorahermes Hey! Can you give me a BIDS equivalent of any of these files? I am a bit confused. This will help me a lot. Regards.

dorahermes commented 3 years ago

Sorry, the goal is to load these files, for example, in Matlab, this is done with the following command: [signal, states, parameters] = load_bcidat('filename')

and then start generating the BIDS directory, .json and .tsv files

One example for making a .json file for ieeg data can be found here in the bids-starter-kit https://github.com/bids-standard/bids-starter-kit/blob/master/matlabCode/ieeg/createBIDS_ieeg_json.m

The content for the _ieeg.json file would have to come from the BCI2000 data.