elec_3Dspace2brainstorm - function [Channel] =

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

View Full Document Right Arrow Icon
function [Channel] = elec_3dspace2brainstorm(filename,N,bsfile) % elec_3dspace2brainstorm - Convert NeuroScan 3Dspace ascii to brainstorm file % % The ascii file format is that of NeuroScan 3Dspace export files. Each row % of the file comprises an electrode label, an electrode type code, and % the x,y,z coordinates (cm). Each field is separated by spaces. See % ELEC_LOAD for more information. % % Useage: Channel = elec_3dspace2brainstorm(filename,[N],[brainstormfile]) % % where: file = 'path\filename' with format described in ELEC_LOAD % % N is how many electrodes to load (rows of 3Dspace file, 129 default). % % Result: Channel is an array of structures. The fields are: % % Loc - a 3x2 matrix of electrode coordinates (x,y,z in rows). % BrainStorm (x,y,z meters) = 3Dspace (x,y,z cm) / 100. % Orient - a corresponding matrix of sensor orientations (MEG); % all zero for EEG. % Weight - a vector of relative or absolute weights (eg, amplification); % all ones for this routine. % Type
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.

This note was uploaded on 10/04/2010 for the course ENG 42336 taught by Professor Thomasholland during the Spring '10 term at UC Davis.

Page1 / 2

elec_3Dspace2brainstorm - function [Channel] =

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