Dear Francois:
I hope this email finds you well.
I am trying to figure out how to generate a script to epoch all my MEG subjects data at once, instead of manually doing the right-click on individual raw files (and then "Import in database").
So I dragged 2 my subjects files into the Process1 box - I assume I don't need to worry about specifically selecting only the "raw MEG files" right? As long as the left bottom side of the "raw channel file looking image button" is pressed, the Process box would automatically filter in the raw MEG file for me, right?
Then, I clicked on the RUN button at the bottom left, and then I selected "Import > Import recordings > Import MEG/EEG: Events", right?
But the interface here seems not the same as that when I individually clicked on the individual raw data. I can only select one subject name at a time, and I assume this is the way to do it with one subject for now and later I just need to modify the script to loop in all my subjects right?
And what is the "Folder name" for? I found if I write in a folder name here, the output would be all the epoched event files put together into one folder under the first subject's raw file folder, which is not what I want. I want to separate each subject's epoched files either under each subject's folder, or under a separate new folder by itself, not under a specific subject's folder like this. I then tried not to write anything in it, and the outputted result did creating separate new folders with the individual epoched files in it but these new folders are still under the first subject's directory. How do I correct for this? (moving these new folders to a higher directory level, not under any specific subject)?
And, I assume I should click off the "Create one condition for each event type", as well as leave out the "Ignore shorter epochs", correct? Also, should I check or check off the "Use CTF compensation"? My data is .dat format. And the data were already filtered in the beginning as continuous data (with a 1-50Hz filter) so I don't need any more "removing DC offset here but how do I ensure this?
Finally, I assume I should check "use SSP/ICA projectors" that I did for all subjects for sure.
And then I don't need to hit "Run" but should just "Generate .m script" and then work on that script, correct?
Thank you very much for your critical assistance!
Yuwen