# Differences

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

tutorial:power_spectra_wavelet_analysis_and_coherence [2011/11/29 21:29]
tutorial:power_spectra_wavelet_analysis_and_coherence [2013/11/29 08:47] (current)
Line 26: Line 26:
</code> </code>

-Go to the directory 'C' using 'cd'.+Go to the directory 'C' using 'cd'. If you do not have write access, try another drive, e.g., 'H'.

<code> <code>
->> cd C+>> cd C:\
</code> </code>

Line 191: Line 191:
==== Wavelet analysis of stimulus evoked activity ==== ==== Wavelet analysis of stimulus evoked activity ====

-Time-frequency (TF) analysis is nowadays (since year 1999 or so) also widely used as a complement to classical averaged evoked response waveforms. Let's try this by applying the wavelet analysis to the evoked response that we analyzed earlier in the courseThe following commands are copy-and-paste from previous tutorials:+Time-frequency (TF) analysis is nowadays (since year 1999 or so) also widely used as a complement to classical averaged evoked response waveforms. Let's try this by applying the wavelet analysis to a somatosensory evoked response (which you may just have computed in a previous tutorials)Compute and plot the evoked response using the following commands:

<code> <code>
Line 262: Line 262:
</code> </code>

-'mean' takes the average along the 1st dimension of the 3D matrix 'WM', which essentially makes the 3D matrix 2D. MATLAB, however, only treats the matrix as 2D after the command 'squeeze'.]+'mean' takes the average along the 1st dimension of the 3D matrix 'WM', which essentially makes the 3D matrix 2D. MATLAB, however, only treats the matrix as 2D after the command 'squeeze'.

Let’s compare the result with the TF-plot of the averaged evoked response. Let’s compare the result with the TF-plot of the averaged evoked response.
Line 273: Line 273:

Note the values and sign on the color scale.\\ Note the values and sign on the color scale.\\
+**Questions**
- Can you identify similarities between the TF plot of the averaged evoked response and the average of the TF plots?   - Can you identify similarities between the TF plot of the averaged evoked response and the average of the TF plots?
- What is the somewhat surprising conclusion from this plot?   - What is the somewhat surprising conclusion from this plot?

-The phenomenon most clearly seen in the 10 Hz band is widely known as "event-related desynchronization" or ERD. This is an unfortunate term, but originates from the 1980's when the first researchers discovered the phenomenon assigned the amplitude change to a change in synchrony between neurons (causing a smaller macroscopic field). Naturally, the oscillation amplitudes can also attenuate because of certain neurons transiently not firing action potentials or firing action potentials at a lower rate.+The phenomenon most clearly seen in the 10 Hz band is widely known as "event-related desynchronization" or ERD. This is an unfortunate term, but originates from the 1980's when the first researchers discovered the phenomenon and assigned the amplitude change to a change in synchrony between neurons (causing a smaller macroscopic field). Naturally, the oscillation amplitudes can also attenuate because of certain neurons transiently not firing action potentials or firing action potentials at a lower rate.

Line 308: Line 309:
Also try to shift the data of the two channels in time (e.g., compute the coherence between the first half of the data in RSM with the second half of the data in LSM).  Also try to shift the data of the two channels in time (e.g., compute the coherence between the first half of the data in RSM with the second half of the data in LSM).

-What do you see and why?+**Question:**\\
+What do you see and why?\\
Ask if you are in doubt how to shift the samples in the two signals relative to each other. Ask if you are in doubt how to shift the samples in the two signals relative to each other.

- +<html>
+<script type="text/javascript"><!--