eeg_open - function [p] = eeg_open(p,parent) % % % % % % %...

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

View Full Document Right Arrow Icon
function [p] = eeg_open(p,parent) % eeg_open - function to handle various eeg_load commands % % Usage: [p] = eeg_open(p,[parentgui]) % % p is a parameter structure. See eeg_toolbox_defaults for more % information on this parameter structure. % % In this function, p must contain the fields: % % p.volt.path - the directory location of the file to load % p.volt.file - the name of the file to load % p.volt.type - the file format string, one of: % % 'ASCII' % 'EMSE' % 'Scan4x' % 'Scan3x' % 'Matlab' % % These are the only file types currently supported. % See functions eeg_load* for details. % % The most important return value is the ERP data in % p.volt.data. If the file format is scan4x, various % ERP parameters are returned also. % % If the ASCII or Matlab type is given, the routine will try % to load an associated variance file. This file must be % located in the same path, with the same file name as the % voltage file, but the file extension should be '.var' % % See also: EEG_LOAD, EEG_LOAD_ASCII, EMSE_READ_AVG, % EEG_LOAD_SCAN4_AVG, EEG_LOAD_SCAN3_AVG % % $Revision: 1.1 $ $Date: 2009/04/28 22:13:52 $ % Licence: GNU GPL, no express or implied warranties % History: 02/2002, Darren.Weber_at_radiology.ucsf.edu % 04/2002, Darren.Weber_at_radiology.ucsf.edu % added variance handling % 08/2002, Darren.Weber_at_radiology.ucsf.edu % added EMSE avg handling % added interpolation of zero point option % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% if ~exist('p','var'),[p] = eeg_toolbox_defaults; end eegversion = '$Revision: 1.1 $'; fprintf('EEG_OPEN [v %s]\n',eegversion(11:15)); tic;
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 / 5

eeg_open - function [p] = eeg_open(p,parent) % % % % % % %...

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