Jump to content

Common spatial pattern: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
→‎Choice of windows \mathbf{X}_1 and \mathbf{X}_2: Some minor editing and precisions added
Line 58: Line 58:
=== Choice of windows <math>\mathbf{X}_1</math> and <math>\mathbf{X}_2</math> ===
=== Choice of windows <math>\mathbf{X}_1</math> and <math>\mathbf{X}_2</math> ===


The standard practice consists on choosing the windows to correspond to two period of time with different activation sources (e.g. during rest and during a specific task).
The standard use consists on choosing the windows to correspond to two periods of time with different activation of sources (e.g. during rest and during a specific task).


It is also possible to choose the two windows to correspond to two different frequency bands in order to find components with specific frequency pattern. <ref name="boudet">Boudet, S., [http://www.theses.fr/2008LIL10156 "Filtrage d'artefacts par analyse multicomposantes de l'électroencephalogramme de patients épileptiques."], : Unviversité de Lille 1, 07/2008.</ref> Since the matrix <math>\mathbf{P}</math> depends only of the covariance matrices, the same results can be obtained if the processing is applied on the Fourrier transform of the signals.
It is also possible to choose the two windows to correspond to two different frequency bands in order to find components with specific frequency pattern. <ref name="boudet">Boudet, S., [http://www.theses.fr/2008LIL10156 "Filtrage d'artefacts par analyse multicomposantes de l'électroencephalogramme de patients épileptiques."], : Unviversité de Lille 1, 07/2008</ref> Those frequency bands can be on temporal or on frequential basis. Since the matrix <math>\mathbf{P}</math> depends only of the covariance matrices, the same results can be obtained if the processing is applied on the Fourier transform of the signals.


== Applications ==
== Applications ==

Revision as of 09:19, 4 June 2012

Common Spatial Pattern (CSP) is a mathematical procedure for separating a multivariate signal into additive subcomponents which have most differences in variance (or second-order moment) between two windows. [1]

Details

Let's suppose two windows of a multivariate signals of dimension and of dimension . is the number of signals and , are the respective number samples.

The CSP consists in looking the component such the ratio of variance (or order 2 moment) is maximum between the two windows:

The solution is given by computing the two covariance matrices:

Then, the simultaneous diagonalization of those two matrices is realized. We find the matrix of eigen vector and the diagonal matrix of eigen values sorted by decreasing order such that:

and

with the identity matrix.


This is equivalent to diagonalize the matrix :


will correspond the first column of :

Discussion

Relation between variance ratio and eigen value

The eigen vectors composing are components with variance ratio between the two windows equal to their corresponding eigen value:

Other components

The vectorial subpsace generated by the first eigen vectors will be the subspace maximizing the variance ratio of all components belonging to it:


On the same way, the vectorial subpsace generated by the last eigen vectors will be the subspace minimizing the variance ratio of all components belonging to it:

Variance or second-order moment

You can apply the CSP after a mean subtraction (a.k.a. "mean centering") on signals in order to realize a variance ratio optimization. Otherwize the CSP opitmize the ratio of second-order moment.

Choice of windows and

The standard use consists on choosing the windows to correspond to two periods of time with different activation of sources (e.g. during rest and during a specific task).

It is also possible to choose the two windows to correspond to two different frequency bands in order to find components with specific frequency pattern. [2] Those frequency bands can be on temporal or on frequential basis. Since the matrix depends only of the covariance matrices, the same results can be obtained if the processing is applied on the Fourier transform of the signals.

Applications

This method can be applied to several multivariate signal but it seems that most works on it concern electroencephalographic signals.

Particularly, the method is mostly used on Brain–computer interface in order to retrieve the component signal which best transduce the cerebral activity for a specific task (e.g. hand movement). [3]

It can also be used to separate artifacts form elegtroencephalographics signals. [2]

References

  1. ^ Zoltan J. Koles, Michael S. Lazaret and Steven Z. Zhou, "Spatial patterns underlying population differences in the background EEG", Brain topography, Vol. 2 (4) pp. 275-284, 1990
  2. ^ a b Boudet, S., "Filtrage d'artefacts par analyse multicomposantes de l'électroencephalogramme de patients épileptiques.", : Unviversité de Lille 1, 07/2008
  3. ^ G. Pfurtscheller, C. Gugeret and H. Ramoser "EEG-based brain-computer interface using subject-specific spatial filters", Engineering applications of bio-inspired artificial neural networks, Lecture Notes in Computer Science, 1999, Vol. 1607/1999, pp. 248-254