Hi Francois
Thank you for the reply.
No, you can't pass the channel file, you can only provide a "data" file.
To make it clear, I mean passing a database path of channel file(.mat
) for the field name channel file
.
And selecting the process "Sources > Compute head model" with the Process1 empty shows an error in the pipeline editor.
You are right, it pops an error message once I click on the DUNE option, however, I tried to just pass the '.mat' channel file from the database(e.g. /home/user/brainstorm_db/protocol1/data/sub-123456/@intra/channel_GSN_HydroCel_256_E1.mat
), the function seems working because I observed a few lines of code in panel_headmodel.m, it gets the corresponding subject's surface files. Do you think it is acceptable to perform batch head model in this way? because from the GUI, I did not need to import any EEG recording for head model computation. If not, probably I would do as you suggested that I will quickly import some dummy EEG recordings just for running the head computation because the EEG hasn't been cleaned yet.
Thank you very much.