Grand Averages

Montez, T. t.montez at VUMC.NL
Mon May 2 09:20:31 CEST 2005


Hi,

I would like to make two multiplots of power spectrum: one for 
controls and one for patients.
I wrote a code to compute the planar gradiometers, the average over 
trials for each subject and the power spectrum (see attachment).
I want to run it through the two groups and grand average within the 
groups to have a first glance at the differences between them.
  
The database is structured like:
  
E:\Data\AD_Project\Patients\A001 ... E:\Data\AD_Project\Patients\A017
  
And E:\Data\AD_Project\Controls\C001 ... E:\Data\AD_Project\Controls\C018
  
Inside each folder there is a "data" Matlab file (*).
  
- How are your databases organized and how do you compute Grand 
Averages?
  
Thanks,
Teresa
  
  
(*) Example of how the data was read from CTF.
  
 cfg = [];
 cfg.dataset = 'E:\Data\AD-EC\A001-ED_20020719_02.ds'
 cfg.trl= [[ones(1,37)]', [4096*ones(1,37)]', [zeros(1,37)]']
 cfg.channel='all'
 data = preprocessing(cfg)
  
 It is just no-task eyes closed data acquired with 37 trials of 4096 
 samples.
 So I want to apply the filters later as if it is continuous data.
 - How is it handled in the last 0.9.6 version?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: script_home_database.m
Type: application/octet-stream
Size: 4075 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20050502/fcb369bb/attachment.obj>


More information about the fieldtrip mailing list