elec_load_scan_3ddasc

elec_load_scan_3ddasc - function [scan3dd] =...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
% elec_load_scan_3ddasc - read ascii export of Neuroscan 3DD file % % Load an ascii electrode file and return % the electrode labels and coordinates. This % function can read and return Cartesian (x,y,z) % and/or spherical (theta,phi,r) coordinates. % % [scan3dd] = elec_load_scan_3ddasc(filename) % % where: % % file = '<path><filename>' with row format '%s %d %f %f %f' % % The file format is that of NeuroScan 3Dspace ascii % export files. Each row of the file comprises an electrode label, % an electrode type code (see below), and the x,y,z coordinates (cm). % Each field is separated by spaces. For example, % % Fz 69 Xcm Ycm Zcm % % Example result: % % scan3dd = % % label: {1x128 cell} % x: [128x1 double] % y: [128x1 double] % z: [128x1 double] % hsp: [1617x3 double] % nasion: [-0.0333 9.0341 0] % lpa: [-6.9128 0 0] % rpa: [6.9128 0 0] % origin: [0 0 0] % ref: [0 9.9341 0] % % All coordinates are in centimeters; +X is right, +Y is anterior % and +Z is superior. % % Notes: % % i) Type is defined as follows (from Neuroscan 3Dspace ascii export): % % Electrode Type % --------- ---- % Nasion 110 (or 78) % Left 108 (or 76) % Right 114 (or 82) % electrodes 69 % Centroid (origin)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

elec_load_scan_3ddasc - function [scan3dd] =...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online