[FieldTrip] Rotating sensors using ft_transform_sens

Julian Keil julian.keil at gmail.com
Fri May 12 09:44:01 CEST 2017


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
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170512/2a0c9853/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170512/2a0c9853/attachment.sig>


More information about the fieldtrip mailing list