The montage I mentioned is generated around line 150 of
ft_rejectcomponent. So you can just put a breakpoint there or add
your bit of code saving it to a .mat file and then use that file for
SPM montage function.
Vladimir
On Wed, Oct 12, 2011 at 2:39 PM, Vladimir Litvak
<[log in to unmask]> wrote:
> Dear Charline,
>
> I don't know for sure but one possibility is that your channel types
> are not set correctly any more and all the channels appear in the
> 'Other' tab. In general I would suggest you instead of converting your
> clean data back to SPM to get from FT the montage matrix representing
> ICA component removal and apply it to your SPM dataset using
> spm_eeg_montage.
>
> Best,
>
> Vladimir
>
> On Wed, Oct 12, 2011 at 2:20 PM, Urbain Charline <[log in to unmask]> wrote:
>> Dear Vladimir,Dear SPMers,
>>
>> I have a problem concerning the convertion of FieldTrip data into
>> GUI-readable SPM data.
>>
>> Specifically, the problem is the following: I successfully converted SPM
>> data (preprocessed with SPM *.beffspm.mat)
>>
>>
>>
>> into Fieldtrip data to perform an ICA analysis. After removing the
>> artifactual ICs from the data,
>> I converted the resulting Fieldtrip data structure into SPM structures .dat
>> and .mat using the function
>> spm_eeg_ft2spm, which seems to work.
>>
>>
>>
>>
>> However, I am now unable to display the data into the GUI. Do you know why?
>>
>> Thank you very much for help!
>>
>> Charline
>>
>>
>>
>>
>>
>
|