Home > vbmeg > demo > test_scripts > vb_test_eeg_import.m

vb_test_eeg_import

PURPOSE ^

import eeg data from BDF file: make mat-file

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 import eeg data from BDF file: make mat-file
  job_import_eeg_batch(root_dir, base_name)
    root_dir.bdf  : directory of input  BDF file
    root_dir.eeg  : directory of output EEG file
    base_name : base name for BDF file to import
     if it is empty, all BDF files in root_dir.bdf are imported
    
 2009-8-9 Masa-aki Sato

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % import eeg data from BDF file: make mat-file
0002 %  job_import_eeg_batch(root_dir, base_name)
0003 %    root_dir.bdf  : directory of input  BDF file
0004 %    root_dir.eeg  : directory of output EEG file
0005 %    base_name : base name for BDF file to import
0006 %     if it is empty, all BDF files in root_dir.bdf are imported
0007 %
0008 % 2009-8-9 Masa-aki Sato
0009 %
0010 % Copyright (C) 2011, ATR All Rights Reserved.
0011 % License : New BSD License(see VBMEG_LICENSE.txt)
0012 
0013 vbmeg;
0014 
0015 root_dir.bdf = [getenv('MATHOME') '/BCI_Tmp/BDF_data'];
0016 root_dir.eeg = [getenv('MATHOME') '/BCI_Tmp/eeg_data'];
0017 
0018 base_name = [];
0019 
0020 vb_job_import_eeg_data(root_dir , base_name);

Generated on Mon 22-May-2023 06:53:56 by m2html © 2005