[FieldTrip] fieldtrip Digest, Vol 78, Issue 13

Laxmi Shaw laxmi.shaw22 at gmail.com
Mon May 15 13:17:42 CEST 2017


Dear Fieldtrip Users,
I am using fieldtrip plot function, and it was running fine. Last two days
back the code is showing some error, and I am not able to figure it out.
Could you please help me in this regard. I have attached the screen shot of
that error window. Please find the screenshot.



Thanks and Regards[image: Inline image 1]

On Mon, May 15, 2017 at 3:30 PM, <fieldtrip-request at science.ru.nl> wrote:

> Send fieldtrip mailing list submissions to
>         fieldtrip at science.ru.nl
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> or, via email, send a message with subject or body 'help' to
>         fieldtrip-request at science.ru.nl
>
> You can reach the person managing the list at
>         fieldtrip-owner at science.ru.nl
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of fieldtrip digest..."
>
>
> Today's Topics:
>
>    1. Re: Rotating sensors using ft_transform_sens (Pomper, Ulrich)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 14 May 2017 11:36:13 +0000
> From: "Pomper, Ulrich" <u.pomper at ucl.ac.uk>
> To: FieldTrip discussion list <fieldtrip at science.ru.nl>
> Subject: Re: [FieldTrip] Rotating sensors using ft_transform_sens
> Message-ID:
>         <AM5PR01MB2979106D172D9C99CAE4E2E0D2E00 at AM5PR01MB2979.
> eurprd01.prod.exchangelabs.com>
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Dear Julian,
>
>
> Thanks a lot for your help!
>
> >From looking into the function as you suggested, it seems the
> transformation matrix is actually 4 dimensional, with one extra dimension
> for scaling. I managed to rotate the sensors but they are still quite far
> away from the headvolume.
>
> I tried using ft_sensorrealign (MEG equivalent of ft_electroderealign) but
> am getting an errormessage
>
>
> Undefined function or variable "pnt".
>
> Error in channelposition (line 327)
> pnt = pnt(sel2, :);
>
>
>
> which I haven't had time to follow up yet. I will post more once I have
> looked into it.
>
> Anyway, thanks again for the help so far.
>
>
> Cheers,
>
> Ulrich
>
>
>
> ________________________________
> From: fieldtrip-bounces at science.ru.nl <fieldtrip-bounces at science.ru.nl>
> on behalf of Julian Keil <julian.keil at gmail.com>
> Sent: 12 May 2017 08:44
> To: FieldTrip discussion list
> Subject: Re: [FieldTrip] Rotating sensors using ft_transform_sens
>
> Dear Ulrich,
>
> could you use ft_electroderealign with the interactive-option instead?
> Here you have an graphic interface that lets you rotate the electrodes in
> all directions to match your headshape.
> ft_transform_sens is used in this function, so the output should be the
> same.
> Moreover, if you check the code of ft_electroderealign, it can give you a
> hint to what the transform-matrix should look like: I think it should be a
> 3x3-matrix with scale, transform and rotate xyz-vectors.
>
> I hope this helps,
>
> Julian
>
>
> Am 11.05.2017 um 19:21 schrieb Pomper, Ulrich:
>
> Dear Listmembers,
>
> Could someone please explain how to use ft_transform_sens in order to
> rotate sensors around a given axis?
> For example, how would the input variable 'transform' need to look like in
> order to perform a 90 degree rotation around the z-axis?
>
> Many thanks,
> Ulrich
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/
> attachments/20170514/c4c91a75/attachment-0001.html>
>
> ------------------------------
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
> End of fieldtrip Digest, Vol 78, Issue 13
> *****************************************
>



-- 
Laxmi Shaw
Research Scholar(PhD)
IIT Kharagpur
West Bengal
Ph no-08388837821
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170515/58436a66/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Error_fig.png
Type: image/png
Size: 130728 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170515/58436a66/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Error_fig.png
Type: image/png
Size: 130728 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170515/58436a66/attachment-0003.png>


More information about the fieldtrip mailing list