<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>AnalyzingData/DeFleCT_SpatialFiltering_Tools</title><revhistory><revision><revnumber>20</revnumber><date>2014-02-03 13:34:17</date><authorinitials>OlafHauk</authorinitials></revision><revision><revnumber>19</revnumber><date>2013-12-05 09:20:39</date><authorinitials>MattiStenroos</authorinitials></revision><revision><revnumber>18</revnumber><date>2013-11-08 13:49:51</date><authorinitials>MattiStenroos</authorinitials></revision><revision><revnumber>17</revnumber><date>2013-11-08 13:49:11</date><authorinitials>MattiStenroos</authorinitials></revision><revision><revnumber>16</revnumber><date>2013-11-08 13:46:42</date><authorinitials>MattiStenroos</authorinitials></revision><revision><revnumber>15</revnumber><date>2013-11-08 13:46:07</date><authorinitials>MattiStenroos</authorinitials></revision><revision><revnumber>14</revnumber><date>2013-11-08 13:44:18</date><authorinitials>MattiStenroos</authorinitials></revision><revision><revnumber>13</revnumber><date>2013-11-01 16:00:54</date><authorinitials>OlafHauk</authorinitials></revision><revision><revnumber>12</revnumber><date>2013-11-01 15:59:03</date><authorinitials>OlafHauk</authorinitials></revision><revision><revnumber>11</revnumber><date>2013-11-01 15:55:04</date><authorinitials>OlafHauk</authorinitials></revision><revision><revnumber>10</revnumber><date>2013-11-01 15:50:00</date><authorinitials>OlafHauk</authorinitials></revision><revision><revnumber>9</revnumber><date>2013-10-17 16:17:45</date><authorinitials>OlafHauk</authorinitials></revision><revision><revnumber>8</revnumber><date>2013-10-17 14:24:08</date><authorinitials>MattiStenroos</authorinitials></revision><revision><revnumber>7</revnumber><date>2013-10-17 14:21:29</date><authorinitials>MattiStenroos</authorinitials></revision><revision><revnumber>6</revnumber><date>2013-10-17 14:18:40</date><authorinitials>MattiStenroos</authorinitials></revision><revision><revnumber>5</revnumber><date>2013-10-17 13:47:08</date><authorinitials>MattiStenroos</authorinitials></revision><revision><revnumber>4</revnumber><date>2013-10-17 13:40:56</date><authorinitials>OlafHauk</authorinitials></revision><revision><revnumber>3</revnumber><date>2013-10-17 12:41:19</date><authorinitials>OlafHauk</authorinitials></revision><revision><revnumber>2</revnumber><date>2013-10-17 12:40:56</date><authorinitials>OlafHauk</authorinitials></revision><revision><revnumber>1</revnumber><date>2013-06-17 11:29:31</date><authorinitials>OlafHauk</authorinitials></revision></revhistory></articleinfo><section><title>DeFleCT: Design of Flexible Cross-Talk Functions for Spatial Filtering of EEG/MEG data</title><para>The DeFleCT framework has been formulated and demonstrated in simulation in <ulink url="http://www.ncbi.nlm.nih.gov/pubmed/23616402">this paper</ulink>: </para><screen><![CDATA[Hauk O, Stenroos M.
A framework for the design of flexible cross-talk functions for spatial filtering of EEG/MEG data: DeFleCT.
Human Brain Mapping 2013]]></screen><para>This page provides the </para><itemizedlist><listitem><para>Matlab tools that implement the DeFleCT method and enable easy visualization of data on the cortex, </para></listitem><listitem><para>Data set that was used for making the examples in the paper </para></listitem><listitem><para>Scripts that produce the results of the examples in the paper. </para></listitem></itemizedlist><para><inlinemediaobject><imageobject><imagedata fileref="https://lsr-wiki-02.mrc-cbu.cam.ac.uk/meg/AnalyzingData/DeFleCT_SpatialFiltering_Tools?action=AttachFile&amp;do=get&amp;target=CTFfigure.jpg" width="100%"/></imageobject><textobject><phrase>CTFfigure.jpg</phrase></textobject></inlinemediaobject> </para><section><title>Data set and code package</title><para>For this study, we used the sample data set of <ulink url="http://martinos.org/mne/">MNE</ulink> software that we processed according to the <ulink url="http://martinos.org/mne/manual.html#manual">MNE manual</ulink>: geometries for cortically-constrained source space and three-shell head model were created, sensors and the head geometry were co-registered, and a three-shell BEM model &amp; the lead-field matrices for MEG and EEG were built. In addition, an estimate of the noise covariance matrix was constructed from pre-stimulus data. These were then imported to Matlab. </para><para>The model data can be downloaded <ulink url="https://lsr-wiki-02.mrc-cbu.cam.ac.uk/meg/AnalyzingData/DeFleCT_SpatialFiltering_Tools/meg/AnalyzingData/DeFleCT_SpatialFiltering_Tools?action=AttachFile&amp;do=get&amp;target=deflectmodel.zip">here</ulink> (24 MB). </para><para>Matlab functions and scripts that implement DeFleCT and produce the results presented in the paper can be downloaded <ulink url="https://lsr-wiki-02.mrc-cbu.cam.ac.uk/meg/AnalyzingData/DeFleCT_SpatialFiltering_Tools/meg/AnalyzingData/DeFleCT_SpatialFiltering_Tools?action=AttachFile&amp;do=get&amp;target=DeFleCT_8Nov13.zip">here</ulink>. Before using the codes, read conditions from readme.txt. </para><para>Further questions should be addressed to <ulink url="http://becs.aalto.fi/en/personnel/staff/stenroos_matti.html">Matti Stenroos</ulink> or <ulink url="http://www.mrc-cbu.cam.ac.uk/people/olaf.hauk/">Olaf Hauk</ulink>. </para><para>For more neuroimaging-related issues, please visit our <ulink url="http://www.mrc-cbu.cam.ac.uk/methods-and-resources/imaginganalysis/">CBU Wiki pages</ulink>, or have a look at recent <ulink url="https://lsr-wiki-02.mrc-cbu.cam.ac.uk/meg/AnalyzingData/DeFleCT_SpatialFiltering_Tools/meg/MEGpapersCBU#">MEG publications</ulink> from the CBU. </para></section></section><section><title>Abstract</title><para>Brain activation estimated from EEG and MEG data is the basis for a  number of time-series analyses. In these applications, it is essential  to minimize &quot;leakage&quot; or &quot;cross-talk&quot; of the estimates among brain  areas. Here, we present a novel framework that allows the design of  flexible cross-talk functions (DeFleCT), combining three types of  constraints: (1) full separation of multiple discrete brain sources, (2)  minimization of contributions from other (distributed) brain sources,  and (3) minimization of the contribution from measurement noise. Our  framework allows the design of novel estimators by combining knowledge  about discrete sources with constraints on distributed source activity  and knowledge about noise covariance. These estimators will be useful in  situations where assumptions about sources of interest need to be  combined with uncertain information about additional sources that may  contaminate the signal (e.g. distributed sources), and for which  existing methods may not yield optimal solutions. We also show how  existing estimators, such as maximum-likelihood dipole estimation, L2  minimum-norm estimation, and linearly-constrained minimum variance as  well as null-beamformers, can be derived as special cases from this  general formalism. The performance of the resulting estimators is  demonstrated for the estimation of discrete sources and  regions-of-interest in simulations of combined EEG/MEG data. Our  framework will be useful for EEG/MEG studies applying time-series  analysis in source space as well as for the evaluation and comparison of  linear estimators. </para></section></article>