[Eeglablist] topo2sph doesn't work correctly?
Clemens Brunner
clemens.brunner at tugraz.at
Tue Feb 24 06:46:07 PST 2004
Hi!
I'm having trouble converting my 2-D polar coordinates file (test.loc) into
spherical coordinates. Basically, I want to use headplot, but the resulting
3-D file seems to have the wrong electrode locations.
Here's a test file (test.loc) which contains 3 electrodes, one in the center
of the circle (no. 2), one towards the right ear (no. 1) and one pretty close
to the center shifted a bit towards the left ear (no. 3):
1 90 0.4 A...
2 0 0 B...
3 -90 0.05 C...
OK, now I'm converting it using:
topo2sph('test.loc','test3d');
The resulting file looks like this:
1 18 -90 A...
2 90 -0 B...
3 81 90 C...
Next, I'm drawing that file using:
headplot('setup','test3d','spline');
headplot([0.5,2,1],'spline');
And the resulting image doesn't show the 3 electrodes onto one line - one is
around the vertex, one towards the right ear and one on the forehead.
Any hints how to solve my problem? Please reply directly to my email address
since I didn't subscribe to the mailing list.
TIA,
Clemens
More information about the Eeglablist
mailing list