Hi all,
I am new to SPM and plan to use it for source reconstruction of EEG data. I have preprocessed and averaged single-subject data from fieldtrip in three experimental conditions. They are stored in a *.mat file with three variables (cond1, cond2, cond3). Since I want to invert the three conditions together in SPM, as recommended in the manual, I first used ft_appenddata(cfg, cond1, cond2, cond3), which resuts in a structure in which each condition average is represented as one trial. Export to SPM via spm_eeg_ft2spm works fine, and the three trials are preserved. I was also able to edit the condition names, e.g. for cond1 I did D = conditions(D, 1, 'cond1'), and editing channels and fiducials (via Prepare) also worked. If I display the EEG data in SPM, the three "trials" (which are in fact conditions) all look different. However, at some point during source reconstruction my cond1 seems to get overwritten by cond2, because outputs from the inversion look exactly the same. Cond3 is preserved. I have been trying for a long time now to figure this out, but I just can't find a solution. Does anybody know why this happens?
|