On Wed, Oct 12, 2011 at 2:54 PM, Urbain Charline <
[log in to unmask]> wrote:
> Dear Vladimir,
>
> Just to let you know, I just tried the following: I converted as before SPM
> data into a Fieldtrip data structure using the function ftraw, and then
> directly applied the opposite conversion spm_eeg_ft2spm (so without ICA
> artifact rejection) and the problem is still present. It is therefore not
> likely related to my ICA procedures, but more probably to some sort of
> compatibily problem between the two functions I mentionned.
>
> Do you know if other poeple used this procedure (ftraw and spm_eeg_ft2spm)
> and reported that it worked correctly?
>
> Best,
> Charline
>
>
> 2011/10/12 Vladimir Litvak <
[log in to unmask]>
>>
>> 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
>> >>
>> >>
>> >>
>> >>
>> >>
>> >
>
>