Home > biosig > t310 > calcErdsMap.m

calcErdsMap

PURPOSE ^

Calculates time-frequency (ERDS) maps.

SYNOPSIS ^

function r = calcErdsMap(s, h, startend, f, trls, class, rmartif, ref, submean, alpha, montage, cue, name)

DESCRIPTION ^

 Calculates time-frequency (ERDS) maps.

 This function calculates time-frequency (ERDS) maps by using either FFT or
 wavelets to estimate the power in specific frequency bands. Maps can be
 calculated for more than one channel at once.

 Usage:
   r = calcErdsMap(s, h, startend, f, trls, class, rmartif, ref, submean, alpha, montage, cue, name);

 Input parameters:
   s        ... Input signal (as obtained by sload)
   h        ... Header structure (as obtained by sload)
   startend ... Start and end point within trial (s)
   f        ... Frequency range (Hz)

 Optional input parameters:
   trls    ... Trials to use (default: all)
   class   ... Classes to use (default: all)
   rmartif ... Remove artifacts (default: false)
   ref     ... Reference interval (in s) (default: [] (whole trial))
   submean ... Subtract mean signal first (default: yes)
   alpha   ... Significance level (default: 0.05)
   montage ... Electrode montage (default: [] (none))
   cue     ... Location of cue (in s) (default: [] (none))
   name    ... Name of the data set (or subject) (default: [] (none))

 Output parameter:
   r ... Structure containing the results

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003