User Tools

Site Tools


eeglabsessh1b

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
eeglabsessh1b [2014/02/03 16:50]
bastienboutonnet
eeglabsessh1b [2014/10/08 03:14] (current)
Line 1: Line 1:
-<color Gray> 
-Be patient :) This page will go live on Wed, 5th at 10am.\\ 
-\\ 
-Until then, check the [[overview|overview]] page where you will find all the info about the hackathon.\\ 
-You can also download the necessary files [[download|here]]. 
- 
-</​color>​ 
-/** 
 ===== Getting cosy with EEGLAB: Batch Crews ===== ===== Getting cosy with EEGLAB: Batch Crews =====
 ==== 1. Basic programming tips & loops ==== ==== 1. Basic programming tips & loops ====
Line 37: Line 29:
  
 Here are a few basic loops: Here are a few basic loops:
-''​write loops later''​ +
-*/ +
-/**+
 <code matlab> <code matlab>
 people=[1,​0,​0,​1,​1];​ people=[1,​0,​0,​1,​1];​
Line 197: Line 187:
 EEG = pop_checkset(EEG);​ EEG = pop_checkset(EEG);​
 </​code>​ </​code>​
-*/ + 
-/**+
 <WRAP center round todo 80%> <WRAP center round todo 80%>
 **HACK #2** **HACK #2**
Line 216: Line 206:
  
 </​WRAP>​ </​WRAP>​
-*/ +
-/**+
   *Here would be the implementation that avoids banging your head on the table 10 times because you've lost a night of processing   *Here would be the implementation that avoids banging your head on the table 10 times because you've lost a night of processing
 <code matlab>  ​ <code matlab>  ​
Line 243: Line 232:
 </​WRAP>​ </​WRAP>​
  
-*/ +
-/**+
  
 <file matlab ​ NightCrew.m>​ <file matlab ​ NightCrew.m>​
-subject={'​536', '538'};+% This script runs the initial and time consuming routines which 
 +% are usually ran at night especially if ICA decomposition is included 
 +
 +% Author: Bastien Boutonnet, bastien.b@icloud.com 
 + 
 + 
 +subject={'​505', '510'};
  
-pathname_read='/​Users/​pss059/​Desktop/QuickTests/'; +pathname_read='/​Users/​pss059/​Documents/MATLAB/​TutorialData/​EEGLABHack1/'; 
-pathname_write='/​Users/​pss059/​Desktop/QuickTests/​NightCrew/';​+pathname_write='/​Users/​pss059/​Documents/​MATLAB/​TutorialData/EEGLABHack1/​NightCrew/';​
  
 for i=1:​length(subject) for i=1:​length(subject)
Line 266: Line 260:
     %try     %try
     %add electrode positions, and specify online ref     %add electrode positions, and specify online ref
- EEG = pop_loadcnt([pathname_read subject{i} '​.cnt'​] , '​dataformat',​ 'int32', '​memmapfile',​ '');+ EEG = pop_loadcnt([pathname_read subject{i} '​.cnt'​] , '​dataformat',​ '​int32'​);​
  EEG = pop_chanedit(EEG,​ '​append',​66,'​changefield',​{67 '​labels'​ '​Cz'​},'​lookup','/​Users/​pss059/​Documents/​MATLAB/​eeglab12_0_2_5b/​plugins/​dipfit2.2/​standard_BESA/​standard-10-5-cap385.elp','​setref',​{'​1:​67'​ '​Cz'​});​  EEG = pop_chanedit(EEG,​ '​append',​66,'​changefield',​{67 '​labels'​ '​Cz'​},'​lookup','/​Users/​pss059/​Documents/​MATLAB/​eeglab12_0_2_5b/​plugins/​dipfit2.2/​standard_BESA/​standard-10-5-cap385.elp','​setref',​{'​1:​67'​ '​Cz'​});​
     ​     ​
Line 311: Line 305:
 end end
 </​file>​ </​file>​
-*/+
  
 <color indianred>​DISCLAIMER:​ The tutorials provided on this wiki are not intended to compete with the tutorials written by the EEGLAB'​s (and other toolboxes) developers ([[http://​sccn.ucsd.edu/​wiki/​Main_Page|EEGLAB website]]). It intends to be a condensed version for educational/​reference purposes for members of the lab/​department to which this workshop was given.</​color>​ <color indianred>​DISCLAIMER:​ The tutorials provided on this wiki are not intended to compete with the tutorials written by the EEGLAB'​s (and other toolboxes) developers ([[http://​sccn.ucsd.edu/​wiki/​Main_Page|EEGLAB website]]). It intends to be a condensed version for educational/​reference purposes for members of the lab/​department to which this workshop was given.</​color>​
eeglabsessh1b.1391446235.txt.gz · Last modified: 2014/10/08 03:14 (external edit)