Epochs EEG Automatization

Hello everyone,

So I have this structure, and I want to epoch the raw file of each patient and have the new directory inside the folder of each patient. The issue is that when I’m using the Pipeline, I can’t do that. I have to choose one directory for all the files…

Does someone have an idea?

Thank you so much for the help

It is not mandatory to choose one directory for all files, not even a Subject.

If you want to treat each Subject and each Folder independently, let those two fields empty in the process:

Check out this example:

  1. In the left is the database with the raw files. In the right the process Import > Import recordings > Import MEG/EEG events, to import epochs around the "deviant" event.
    :light_bulb: Note that the fields Subject name and Folder name are empty, and that the option Create a separate folder for each event type is not selected.

  2. This is the database after the process runs

Hi, I’m sorry I wasn't precise enough in my explanations. I want to import epochs around time and not event. I want 4sec epochs. And when I’m letting the subject name and folder name blank I have an error.

Thanks for the clarification.

The process Import MEG/EEG: Time (and the process for Epochs) now supports importing from multiple-subjects raw files. Commit: 22e15f8

Update your Brainstorm instance to 07-Jul-2026, and try again with empty Subject name as in your post above

Thank you so much !