Jump to content

Common spatial pattern

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Samuelboudet (talk | contribs) at 16:19, 1 June 2012 (→‎Applications:). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Common Spatial Pattern (CSP) is a mathematical procedure for separating a multivariate signal into additive subcomponents which have most differences in variance (or order 2 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:

Relation between variance ratio and eigen value

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 order-2 moment

Choice of windows and

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 tasks).

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] Since the matrix depends only of the covariance matrices, the same results can be obtained if the processing is applied on the Fourrier 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