| READELP | Read electrode locations from an .elp (electrode positions) file as generated, for example, by a Polhemus tracking device |
| Usage: | >> [eloc, elocnames, X, Y, Z] = readelp(filename); |
| Inputs: | |
filename |
name of the .elp file containing cartesian (XYZ) electrode locations |
| Outputs: | |
eloc |
structure containing the names and locations of the channels |
elocnames |
cell array containing the names of the electrodes |
X,Y,Z |
vectors containing the xyz locations of the electrodes |
| Author: | Arnaud Delorme, CNL / Salk Institute, 28 Feb 2002 |
| Note: | ignores comments and the sensor type field |
| Note: | convert output XYZ locations to polar coordinates using cart2pol() |
| See also: | readlocs(), snapread(), floatread, cart2pol() |