[Eeglablist] time-frequency data analysis

Arnaud Delorme arno at ucsd.edu
Mon Dec 19 17:42:05 PST 2011


Dear Alena,

try typing STUDY = std_checkset(STUDY, ALLEEG); before running your script.
Best,

Arno

On Dec 19, 2011, at 4:19 AM, Alena Streltsova wrote:

> Dear Arnaud,
>  
> thank you for your prompt response. I've tried to run the same script, changing only the channel number from Fz to 36 in 128 sensor array. Unfortunately, it is not working with my data, Matlab gave the following errors:
>  
> Error in ==> pop_specparams>default_params at 159
>     if ~isfield(STUDY.etc, 'specparams'), STUDY.etc.specparams = []; end;
> Error in ==> pop_specparams at 71
> STUDY = default_params(STUDY);
> Error in ==> std_erpplot at 108
> eval( [ 'STUDY = pop_' dtype 'params(STUDY, ''default'');' ...
> Error in ==> std_specplot at 97
> [STUDY, specdata, allfreqs, pgroup, pcond, pinter] = std_erpplot(STUDY, ALLEEG, 'datatype', 'spec', 'unitx',
> 'Hz', varargin{:});
> Error in ==> export_FFT at 1
> [STUDY specdata]= std_specplot(STUDY,ALLEEG,'channels',{'36'});
>  
> Do you know what can be the source of these errors? Could it be related to the settings that I used to plot a time-frequency spectrum? I have used FFT, for frequencies from 1 to 30 Hz, for the data interval (0; 3000 ms), channel 36.
>  
> Thank you very much in advance,
>  
>  
> Alena.
>  
>  
> 
> 
>  
> On Tue, Nov 1, 2011 at 4:17 AM, Arnaud Delorme <arno at ucsd.edu> wrote:
> Dear Alena,
> 
> 
>> 1) Is there a way to export power-spectrum values for individual subject's data for each condition?
> 
> This small script will export the data as ASCII
> 
> [STUDY specdata]= std_specplot(STUDY,ALLEEG,'channels',{'Fz'});
> for iCond = 1:length(specdata)
> 	for iSubject = 1:size(specdata{iCond},2)
> 		subjectdata = specdata{iCond}(:,iSubject);
> 		save('-ascii', sprintf('subject%d_cond%d', iCond, iSubject), 'subjectdata');
> 	end;
> end;
> 
> 
>> 2) Does FFT or wavelet analysis in eeglab have a windowing procedure, which can deal with boundaries created by the rejection of artifact on the continious EEG data?
> 
> 
> Yes, the spectrum analysis respects the data boundaries.
> 
> Arno
> 
>>  
>> Many thanks,
>>  
>> Alena.
>>  
>> 
>> -- 
>> Alena Streltsova
>> 
>> PhD student
>> Cognitive Development Group
>> http://sites.google.com/site/mccleerygroup/
>> School of Psychology
>> University of  Birmingham
>> Birmingham
>> B15 2TT
>> United Kingdom
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
>> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
>> For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu
> 
> 
> 
> 
> -- 
> Alena Streltsova
> 
> PhD researcher
> Cognitive Development Group
> School of Psychology
> University of  Birmingham
>  
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20111219/922bd643/attachment.html>


More information about the eeglablist mailing list