[FieldTrip] How to use ft_average_sens?
Eelke Spaak
eelke.spaak at donders.ru.nl
Mon Jan 28 13:20:58 CET 2013
Hi Patrick,
Use it like this:
sens(1) = grad_01;
sens(2) = grad_02;
AvgGrad = ft_average_sens(sens);
so the first input argument has to be a structure array of the
different sens structures you want to average.
Best,
Eelke
On 28 January 2013 13:07, Jung, Patrick <patrick.jung at esi-frankfurt.de> wrote:
> Hello Fieldtrippers,
>
>
>
> I get an error message when using ft_average_sens
>
> and couldn’t find the solution on the ft homepage.
>
> Here is my short code:
>
>
>
> grad_01 = ft_read_sens('Run_01.ds')
>
> grad_02 = ft_read_sens('Run_02.ds')
>
> AvgGrad = ft_average_sens(grad_01, grad_02)
>
>
>
> And that’s error message:
>
> ??? Error using ==> ft_getopt
>
> the first input should contain key-value pairs
>
>
>
> Anyone who can help me there?
>
> Thanks and best regards,
>
> Patrick
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
More information about the fieldtrip
mailing list