How to group epoched files?

Hello! I have 50 epoched files (of trials) of EEG recording while the subject was presented with images of objects and non-objects. I know the serial numbers of the trials which correspond to object and which corespond to non-object. I want to manually select the corresponding files and group them into 2 categories--objects and non objects. How can I do that using Brainstorm? The stimuli do not have any bit value associated with them. Only the trial numbers are known to me.
There's probably a simple way that I'm missing out. Please help.
Thanks in advance!

A manual solution:

  • Create two new folders in your subject (object / non-object)
  • If you are using one channel file per folder in the subject configuration, you need to copy-paste the channel file to the two new folders.
  • Select all the object trials manually in the database explorer, CTRL+X / CTRL+V to move them to the "object" folder.
  • Do the same for the non-object trials.

If you want to automate this with a script:

Does it make sense ?

1 Like

Yes, thanks a ton!
I did the manual way for one subject and obtained what I wanted. Will look into generating a script and automate it.
Thanks again!

Hello Francois,
I had another doubt. I'd like to merge the 'object' files of preTMS condition with those of postTMS condition, without losing the pre or post information as well as the trial number information. Is there any way to merge the recordings of preTMS_obj and postTMS_obj together without losing the event markers as well as having a third dimension of the 'trial numbers'? Similarly for preTMS_nobj and postTMS_nobj.
Thanks in advance!

I'm not sure what you mean with "merge".
You can add tags to the files in order to find them easily with the database search interface or process, or you can move files to different folders. But there is no way to create subfolders or have multiple dimensions to organize your trials.

If you need more help, please post a screen capture of what your database explorer looks like, and try to draw or explain how you would like it to be organized.

Yes I understand, I just selected my desired files and processed them together by dragging and dropping. So didn't really need to merge or group them together beforehand.
Thanks a lot!