Difference between revisions of "How to deal with TMS artifact in BESA Research"

From BESA® Wiki
Jump to: navigation, search
 
(10 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
= Before you start =
 
= Before you start =
  
This article is created assuming you already used BESA Research for ERP analysis. If you have any doubts it is strongly advised to follow indicated in this article BESA Tutorial chapter or consult with BESA support team.
+
This article guides you through the reduction of the artifact introduced by Transcranial Magnetic Stimulation (TMS). Here, it is assumed that you already posses a good knowledge about BESA Research, ERP analysis, and source analysis. If you have any doubts it is strongly advised to follow the BESA Tutorial chapters indicated in this article or to consult with the BESA support team.
  
Make sure that your EEG recording system is suitable for recording during TMS stimulation. That means the maximum input range is high enough that the amplifier does not get saturated (the incoming signal induced by TMS artifact is not higher than the input range). Most of the modern TMS-EEG systems have the automatic suppression system of TMS pulse artifact that prevents EEG amplifier of recording the signal during stimulation. BESA strongly advises using this option since it makes the analysis much easier and assures that the amplifier is not saturated. Please note that neither the BESA or any other software cannot "fix" data if the amplifier gets saturated.  
+
Make sure that your EEG recording system is suitable for recording during TMS stimulation. That means the maximum input range is high enough for the amplifier not to get saturated (the incoming signal induced by TMS artifact will not be higher than the input range). Most of the modern TMS-EEG systems have an automatic TMS pulse artifact suppression system that prevents the EEG amplifier from recording the signal during the stimulation. BESA strongly advises using this option since it makes the analysis much easier and assures that the amplifier is not saturated (contact [https://brainbox-neuro.com/ Brainbox] for details). Please note that neither BESA nor any other software can "fix" data if the amplifier goes into saturation.  
  
 
==TMS related artifacts==
 
==TMS related artifacts==
During TMS stimulation at least three types of artifacts can be differentiated:
+
During TMS stimulation at least three types of artifacts can be distinguished:
 +
 
 
===TMS pulse artifact===
 
===TMS pulse artifact===
This artifact is induced directly in EEG electrodes and wires by the magnetic field due to Maxwell’s second law. It is a high amplitude, short-latency artifact. Because the best way to handle this artifact is to suppress it during the recording we will not focus on it.  
+
This artifact is induced directly in EEG electrodes and wires by the induced magnetic field due to Maxwell’s second law. It is a high-amplitude, short-latency artifact. Because the best way to handle this artifact is to suppress it during the recording we will not focus on it here.  
  
 
=== TMS decay artifact (muscle) ===
 
=== TMS decay artifact (muscle) ===
Immediately after the TMS stimulation head muscle response is invoked (also due to Maxwell's second law). It has a large amplitude and it can last that long that can overlay with a cortical response. It has a characteristic shape resembling free induction decay curve. This artifact is of major importance and below it will be shown how to reduce its influence.
+
Immediately after the TMS stimulation, a head muscle response is invoked (also due to Maxwell's second law). It has a large amplitude and it can last long enough to overlap with a cortical response. It has a characteristic shape resembling a free induction decay curve. This artifact is of major importance and it will be shown below how to reduce its influence.
  
 
=== TMS related eye artifact ===
 
=== TMS related eye artifact ===
Similarly to any other strong sensory stimulation, the eye blinks as the derivate response can occur. This type of artifact can be easily fixed in BESA Research using traditional artifact reduction approaches. Please check BESA Tutorial chapter 2A for basic or 10 for advanced approach.
+
Similar to any other strong sensory stimulation, eye blinks can occur as the derivate response. This type of artifact can be easily solved in BESA Research using traditional artifact reduction approaches. Please check ''BESA Tutorial chapter 2A'' for a basic or ''10'' for an advanced approach.
 +
 
 +
== Example ==
 +
The presented data was obtained by [https://brainbox-neuro.com/ Brainbox]. It was a 30 channel EEG recording of a male adult. During the experiment, TMS stimulation was performed with 120% rMT over the left motor cortex.
  
 
=Pipeline=
 
=Pipeline=
In the scheme below the TMS-EEG data handling is shown. Every part of the analysis is color-coded. The yellow part indicated the preprocessing part that is common for any ERP experiment and is described in more detail in section [[#Preprocessing and averaging|Preprocessing and averaging]]. The blue part describes how to prepare the [[#TMS decay artifact reduction|TMS decay artifact]] topographies and how to send them to the source analysis. The last step focus - [[#Source Analysis|Source Analysis]] indicated by a purple color focus on the utility of different artifact topographies (blink, and TMS decay) and performing source localization of underlying ERP activity.
+
In the scheme below the TMS-EEG data handling pipeline is shown. Each part of the analysis is color-coded. The yellow part indicates the preprocessing part that is common for any ERP experiment and is described in more detail in section [[#Preprocessing and averaging|Preprocessing and averaging]]. The blue part describes how to prepare the [[#TMS decay artifact reduction|TMS decay artifact]] topographies and how to send them to the source analysis module. The last step indicated by a purple color - [[#Source Analysis|Source Analysis]] - focusses on the utility of different artifact topographies (blink, and TMS decay) and performing source localization of underlying ERP activity.
  
 
[[File:BESA-TMS-pipeline.png|600px]]
 
[[File:BESA-TMS-pipeline.png|600px]]
  
 
==Preprocessing and averaging==
 
==Preprocessing and averaging==
After opening the file in BESA Research you should proceed with the data as you used to. For example start with bad channel selection and review data for any parts that you would like to remove from further analysis due to i.e. strong movement. Then perform the blink artifact correction either using an automatic or manual approach, as described in BESA Tutorial (chapter 2A for basic or 10 for advanced approach). When data is ready for the averaging please press '''<span style="color:#3366ff;">ERP</span>''' button in the ribbon. A new dialog box will open on which you should define the paradigm (assign codes and create conditions) as in the classical ERP experiment (check BESA Tutorial 2B for details). Then switch to the tab '''<span style="color:#3366ff;">Epoch</span>'''. Now set the '''<span style="color:#3366ff;">Averaging Epoch, Baseline Definition and Artifact Rejection</span>''' interval to match your experiment. As usual please make sure that you have enough signal in baseline and events are not overlapping. Then in '''<span style="color:#3366ff;">Stimulus Artifact</span>''' section set the interval to the values which will ensure that the TMS artifact will be not the reason for rejection. In the given example the '''<span style="color:#3366ff;">Stimulus Artifact</span>''' is starting at -10ms and ending 50ms after event trigger. Please make sure you pressed '''<span style="color:#3366ff;">Assignto All</span>''' or '''<span style="color:#3366ff;">Assign to Selected</span>''' to make use of the mentioned seetings.  
+
After opening the file in BESA Research you should proceed with data preprocessing as you used to. For example: start with bad channel selection and review data for any parts of the signal that you would like to remove from further analysis due to strong movement. Then perform blink artifact correction either using an automatic or manual approach, as described in ''BESA Tutorial'' (''chapter 2A'' for a basic or ''10'' for an advanced approach). When data is ready for the averaging press the '''<span style="color:#3366ff;">ERP</span>''' button in the toolbar ribbon. A new dialog box will open. Here the paradigm should be defined (codes assignment and condition creation) as in every classical ERP experiment (check ''BESA Tutorial 2B'' for details). Then switch to the tab '''<span style="color:#3366ff;">Epoch</span>'''. Now set the '''<span style="color:#3366ff;">Averaging Epoch, Baseline Definition and Artifact Rejection</span>''' interval to match your experiment. As usual please make sure that you have enough signal in the baseline interval, and that events do not overlap. Then in the '''<span style="color:#3366ff;">Stimulus Artifact</span>''' section set the interval to values which will ensure that the TMS artifact will be not the reason for rejection. In the given example the '''<span style="color:#3366ff;">Stimulus Artifact</span>''' starts at -10 ms and ends 50 ms after the stimulus trigger. Please make sure you pressed '''<span style="color:#3366ff;">Assignto All</span>''' or '''<span style="color:#3366ff;">Assign to Selected</span>''' to make use of the defined seetings.  
  
 
[[File:BESA-TMS-ERP.png|600px]]
 
[[File:BESA-TMS-ERP.png|600px]]
  
Now switch to the '''<span style="color:#3366ff;">Artifact</span>''' tab and press '''<span style="color:#3366ff;">Start Scan</span>''' button. This tool is described in more details in Besa Tutorial chappter 2C. Please adjust the acceptance threshold to remove all not-TMS related artifacts adn make sure that there is enough epochs accepted for further analysis. In the given example there is 83 events, which should be more than enough. Now in the '''<span style="color:#3366ff;">Average</span>''' tab press the '''<span style="color:#3366ff;">Average</span>''' button.  
+
Now switch to the '''<span style="color:#3366ff;">Artifact</span>''' tab and press the '''<span style="color:#3366ff;">Start Scan</span>''' button. The '''Artifact Scan tool''' is described in more detail in ''Besa Tutorial chappter 2C''. Please adjust the acceptance threshold to remove all non-TMS related artifacts and make sure that there are enough epochs accepted for further analysis. In the given example there are 83 out of 120 events, which should be enough for further analysis. Now in the '''<span style="color:#3366ff;">Average</span>''' tab press the '''<span style="color:#3366ff;">Average</span>''' button.  
  
 
[[File:BESA-TMS-Scan.png|600px]]
 
[[File:BESA-TMS-Scan.png|600px]]
Line 39: Line 43:
 
Before the averaging the following warning is presented:
 
Before the averaging the following warning is presented:
  
[[File:BESA-TMS-ArtifactWarning.png|600px]]
+
[[File:BESA-TMS-ArtifactWarning.png|400px]]
  
The warning means that the artifact correction (for eyeblink) is currently turned on. Please press '''<span style="color:#3366ff;">Yes</span>''' button to disable artifact correction for averaging process. The blink artifact correction can be performed later for the averaged file or during the source analysis. Here we will apply blink correction during source analysis to investigate its influence on source waveforms and source localization. Note that if we perform averaging with artifact correction on this will not possible since the data will be already treated on a single trial level.
+
The warning means that the artifact correction (for eyeblink) is currently turned on. Please press '''<span style="color:#3366ff;">Yes</span>''' button to disable artifact correction for the averaging process. The blink artifact correction can be performed later for the averaged file or during the source analysis. In the given example, blink correction will be applied during source analysis. This approach enables us to investigate the influence of artifact correction on the source waveforms and source localization. Note that if we perform averaging while keeping artifact correction on, this will not be possible since the data will already have been corrected on a single trial level before averaging.
  
 
==TMS decay artifact reduction==
 
==TMS decay artifact reduction==
When average data is prepared we need to start the source analysis window. Please highlight the signal of interest and press the right mouse button on the yellow tinted area. Now select '''<span style="color:#3366ff;">Source Analysis </span>'''. In the new window, you can trim up the window and set up the filters. Check BESA Tutorial chapter 4C for detalils. For now, we leave this window open in the background. Please back to the main window of BESA Research (and do not close the Source Analysis window!). Make sure that all filters are off (in the status bar there should be text '''Filters off'''). If not please press '''<span style="color:#3366ff;">EdF</span>''' button and disable all filters. Now press '''<span style="color:#3366ff;">ICA</span>''' button, and select '''<span style="color:#3366ff;">Current Screen</span>''' to start ICA decomposition. After the computation is finished you should see data transformed into independent components. while keeping '''<span style="color:#3366ff;">CTRL</span>''' button pressed select all components that might be related to TMS decay artifact. Note that it is not a problem if more components than needed are selected. In the presented example I selected 3 components ICA3, ICA4, and ICA8. While ICA3 and ICA4 are clearly related to the TMS decay artifact, the component ICA8 is questionable. For example, it might be either TMS refractory artifact, some noise or neural response. We can verify that later in Source Analysis.  
+
Once the average data is prepared, we need to start the source analysis window. Please highlight the signal of interest by left mouse drag and press the right mouse button on the highlighted area. Now select '''<span style="color:#3366ff;">Source Analysis </span>'''. In the dialog that appears, you can trim up the interval of interest and set up the filters, then click the button '''<span style="color:#3366ff;">Source Analysis </span>'''. Check ''BESA Tutorial chapter 4C'' for details. The Source Analysis window appears. Minimize it (do not close it, but leave it open in the background). In the main window of BESA Research make sure that all filters are off (in the status bar there should be text '''Filters off'''). If any filter is turned on it can be disabled by pressing '''<span style="color:#3366ff;">EdF</span>''' button and unchecking all filter options. Now ICA decomposition can be started by pressing the '''<span style="color:#3366ff;">ICA</span>''' button and selecting '''<span style="color:#3366ff;">Current Screen</span>'''. After the computation is finished the data is transformed into independent components. While keeping the '''<span style="color:#3366ff;">CTRL</span>''' button pressed all components that might be related to the TMS artifact can be selected. Note that it is possible to select more components than needed. In the presented example three components were selected: ICA3, ICA4, and ICA8. While ICA3 and ICA4 seem clearly related to the TMS decay artifact, the component ICA8 is questionable. It might be either a TMS refractory artifact, some noise or neural response. We can verify that later in Source Analysis.  
  
'''Note that selected components are just example, in your case, they will look different and will have different labels. Also, the number of components to select might be different '''
+
'''Note that the selected components are just an example; in another case, they will look different and will have different labels. Also, the number of TMS related components might be different '''
  
 
[[File:BESA-TMS-ICA.png|600px]]
 
[[File:BESA-TMS-ICA.png|600px]]
  
While selected components are highlighted we can send them to the source analysis window. To do so click right mouse button on one of the highlighted labels and select '''<span style="color:#3366ff;">Send Topography To Source Analysis</span>'''. The source analysis window will be automatically populated with these indpendent components and bring to front.  
+
The selected components can be sent to the source analysis window by clicking the right mouse button on one of the highlighted labels and selecting '''<span style="color:#3366ff;">Send Topography To Source Analysis</span>'''. The source analysis window will be automatically populated with these independent components and brought to the front.
  
 
==Source Analysis==
 
==Source Analysis==
 +
Now the Source Analysis module with TMS-decay related Independent Components (IC) along with the EEG waveforms should be visible.
 +
 +
[[File:BESA-TMS-SA1.png|600px]]
 +
 +
The previously created blink artifact related topography can now be added by opening the File menu and selecting '''<span style="color:#3366ff;">Open Solution...</span>''' (or '''<span style="color:#3366ff;">Append solution...</span>''' if some source(s) are already added and needed). In the dialog box that appears, the file type '''<span style="color:#ff9c00;">Artifact Topographies (*.atf,*.art,*.coe)</span>''' should be selected in the '''<span style="color:#3366ff;">Files of type</span>''' section. This allows to select the file with artifact topographies - the file has exactly the same name as the data file but an extension "*.atf". By pressing the '''<span style="color:#3366ff;">Open</span>''' button this topography will be added to the Source Analysis. The TMS-related components can be added by pressing the right mouse button anywhere in the TMS-decay related ICs area and selecting '''<span style="color:#3366ff;">Add All ICA Component(s) to Solution</span>'''. BESA automatically computes the source waveforms for the TMS-decay related ICs and adds the components to the solution. Press the '''<span style="color:#3366ff;">Residual</span>''' button to show EEG signal that is not explained by the model (i.e. is not removed by artifact corection). You can toggle the '''<span style="color:#3366ff;">Data</span>''' button on and off to compare Residuals with orginal data. It is better however to use residuals for the brain source fitting procedure.
 +
 +
[[File:BESA-TMS-SA2.png|600px]]
 +
 +
Investigating the source waveforms, it is noticeable that the fourth (pink) waveform is mostly flat. Therefore the third selected IC - the questionable TMS refractory artifact - ICA8 does not explain any ERP activity. In that situation it is a good idea to disable the component by pressing the On button to change it to '''<span style="color:#3366ff;">Off</span>''' state. The button is located close to the fourth source waveform.
 +
 +
Now have a closer look again at the remaining three source waveforms. The first one - the eyeblink is rather of minor importance here, but as we know that blinking may occur (and occurred) in the given example we would like to keep this source. The next two source waveforms came from IC indicated as TMS-decay related artifacts. Both sources of these ICs - blue and green - are close to each other and have a very similar orientation. Note that they are located over the left hemisphere, close to the central sulcus - see [[#Example|Example]]. Moreover, we can see that the blue source waveform starts much later (c.a. 50ms after stimulus) while the green one starts just after the stimulus onset. This strongly suggests that the blue source should be disabled as well, as it does not model the stimulus artifact as such. Now we have two artifact-related sources - the red one responsible for the eye-blink, the green one responsible for the TMS-decay artifact. Check out the residuals of EEG - they resemble a classical ERP now!
 +
 +
[[File:BESA-TMS-SA3.png|600px]]
 +
 +
Now we can fit sources that will explain brain activity (this procedure is explained in detail in ''BESA Tutorial 4''). As an initial step, the fitting interval should be selected. It is possible to switch the display from imported ICA to PCA decomposition of the residuals by pressing the '''<span style="color:#3366ff;">ICA</span>''' button (it will be switched to '''<span style="color:#3366ff;">PCA</span>''').  For the given example the rising part of residual ERP is selected (note that the PCA automatically adjusts to the selection). When most of the signal can be explained by one PCA component, that means that a good fitting interval was selected.
 +
 +
[[File:BESA-TMS-SA4.png|600px]]
 +
 +
Finally, the sources have to be added and fitted. To add a source '''<span style="color:#3366ff;">double click with left mouse button</span>''' anywhere in the right window area (where the head schemes are visible). Because the stimulation caused a strong activation (120% rMT) it is possible that there might be cross-talk to the contralateral hemisphere. Therefore a second source should be added. In addition, a symmetry constraint between the first and second source should be set: While the second source is selected, select in Loc: '''<span style="color:#3366ff;">symetric to</span>''' from the drop-down list. Now the second source will be symmetric to the first one after fitting. Press the '''<span style="color:#3366ff;">All fit</span>''' button to indicate that all cortical sources should be fitted together at the same time. Note that the artifact related sources (spatial components) cannot be fitted. Press  the '''<span style="color:#3366ff;">Start fit</span>''' button to perform the fit.
 +
 +
[[File:BESA-TMS-SA5.png|600px]]
 +
 +
The final solution consists of two sources, both located in the precentral cortex, bilaterally. The left source is stronger and becomes active slightly earlier (50ms vs 53ms) than the right source, which is plausible concerning the stimulation protocol in the given [[#Example|example]].
 +
 +
 +
[[Category:Data Import/Export]] [[Category:Preprocessing]] [[Category:Source Analysis]]

Latest revision as of 12:13, 28 February 2020

Module information
Modules BESA Research Standard or higher
Version 6.1 or higher


Before you start

This article guides you through the reduction of the artifact introduced by Transcranial Magnetic Stimulation (TMS). Here, it is assumed that you already posses a good knowledge about BESA Research, ERP analysis, and source analysis. If you have any doubts it is strongly advised to follow the BESA Tutorial chapters indicated in this article or to consult with the BESA support team.

Make sure that your EEG recording system is suitable for recording during TMS stimulation. That means the maximum input range is high enough for the amplifier not to get saturated (the incoming signal induced by TMS artifact will not be higher than the input range). Most of the modern TMS-EEG systems have an automatic TMS pulse artifact suppression system that prevents the EEG amplifier from recording the signal during the stimulation. BESA strongly advises using this option since it makes the analysis much easier and assures that the amplifier is not saturated (contact Brainbox for details). Please note that neither BESA nor any other software can "fix" data if the amplifier goes into saturation.

TMS related artifacts

During TMS stimulation at least three types of artifacts can be distinguished:

TMS pulse artifact

This artifact is induced directly in EEG electrodes and wires by the induced magnetic field due to Maxwell’s second law. It is a high-amplitude, short-latency artifact. Because the best way to handle this artifact is to suppress it during the recording we will not focus on it here.

TMS decay artifact (muscle)

Immediately after the TMS stimulation, a head muscle response is invoked (also due to Maxwell's second law). It has a large amplitude and it can last long enough to overlap with a cortical response. It has a characteristic shape resembling a free induction decay curve. This artifact is of major importance and it will be shown below how to reduce its influence.

TMS related eye artifact

Similar to any other strong sensory stimulation, eye blinks can occur as the derivate response. This type of artifact can be easily solved in BESA Research using traditional artifact reduction approaches. Please check BESA Tutorial chapter 2A for a basic or 10 for an advanced approach.

Example

The presented data was obtained by Brainbox. It was a 30 channel EEG recording of a male adult. During the experiment, TMS stimulation was performed with 120% rMT over the left motor cortex.

Pipeline

In the scheme below the TMS-EEG data handling pipeline is shown. Each part of the analysis is color-coded. The yellow part indicates the preprocessing part that is common for any ERP experiment and is described in more detail in section Preprocessing and averaging. The blue part describes how to prepare the TMS decay artifact topographies and how to send them to the source analysis module. The last step indicated by a purple color - Source Analysis - focusses on the utility of different artifact topographies (blink, and TMS decay) and performing source localization of underlying ERP activity.

BESA-TMS-pipeline.png

Preprocessing and averaging

After opening the file in BESA Research you should proceed with data preprocessing as you used to. For example: start with bad channel selection and review data for any parts of the signal that you would like to remove from further analysis due to strong movement. Then perform blink artifact correction either using an automatic or manual approach, as described in BESA Tutorial (chapter 2A for a basic or 10 for an advanced approach). When data is ready for the averaging press the ERP button in the toolbar ribbon. A new dialog box will open. Here the paradigm should be defined (codes assignment and condition creation) as in every classical ERP experiment (check BESA Tutorial 2B for details). Then switch to the tab Epoch. Now set the Averaging Epoch, Baseline Definition and Artifact Rejection interval to match your experiment. As usual please make sure that you have enough signal in the baseline interval, and that events do not overlap. Then in the Stimulus Artifact section set the interval to values which will ensure that the TMS artifact will be not the reason for rejection. In the given example the Stimulus Artifact starts at -10 ms and ends 50 ms after the stimulus trigger. Please make sure you pressed Assignto All or Assign to Selected to make use of the defined seetings.

BESA-TMS-ERP.png

Now switch to the Artifact tab and press the Start Scan button. The Artifact Scan tool is described in more detail in Besa Tutorial chappter 2C. Please adjust the acceptance threshold to remove all non-TMS related artifacts and make sure that there are enough epochs accepted for further analysis. In the given example there are 83 out of 120 events, which should be enough for further analysis. Now in the Average tab press the Average button.

BESA-TMS-Scan.png

Before the averaging the following warning is presented:

BESA-TMS-ArtifactWarning.png

The warning means that the artifact correction (for eyeblink) is currently turned on. Please press Yes button to disable artifact correction for the averaging process. The blink artifact correction can be performed later for the averaged file or during the source analysis. In the given example, blink correction will be applied during source analysis. This approach enables us to investigate the influence of artifact correction on the source waveforms and source localization. Note that if we perform averaging while keeping artifact correction on, this will not be possible since the data will already have been corrected on a single trial level before averaging.

TMS decay artifact reduction

Once the average data is prepared, we need to start the source analysis window. Please highlight the signal of interest by left mouse drag and press the right mouse button on the highlighted area. Now select Source Analysis . In the dialog that appears, you can trim up the interval of interest and set up the filters, then click the button Source Analysis . Check BESA Tutorial chapter 4C for details. The Source Analysis window appears. Minimize it (do not close it, but leave it open in the background). In the main window of BESA Research make sure that all filters are off (in the status bar there should be text Filters off). If any filter is turned on it can be disabled by pressing EdF button and unchecking all filter options. Now ICA decomposition can be started by pressing the ICA button and selecting Current Screen. After the computation is finished the data is transformed into independent components. While keeping the CTRL button pressed all components that might be related to the TMS artifact can be selected. Note that it is possible to select more components than needed. In the presented example three components were selected: ICA3, ICA4, and ICA8. While ICA3 and ICA4 seem clearly related to the TMS decay artifact, the component ICA8 is questionable. It might be either a TMS refractory artifact, some noise or neural response. We can verify that later in Source Analysis.

Note that the selected components are just an example; in another case, they will look different and will have different labels. Also, the number of TMS related components might be different

BESA-TMS-ICA.png

The selected components can be sent to the source analysis window by clicking the right mouse button on one of the highlighted labels and selecting Send Topography To Source Analysis. The source analysis window will be automatically populated with these independent components and brought to the front.

Source Analysis

Now the Source Analysis module with TMS-decay related Independent Components (IC) along with the EEG waveforms should be visible.

BESA-TMS-SA1.png

The previously created blink artifact related topography can now be added by opening the File menu and selecting Open Solution... (or Append solution... if some source(s) are already added and needed). In the dialog box that appears, the file type Artifact Topographies (*.atf,*.art,*.coe) should be selected in the Files of type section. This allows to select the file with artifact topographies - the file has exactly the same name as the data file but an extension "*.atf". By pressing the Open button this topography will be added to the Source Analysis. The TMS-related components can be added by pressing the right mouse button anywhere in the TMS-decay related ICs area and selecting Add All ICA Component(s) to Solution. BESA automatically computes the source waveforms for the TMS-decay related ICs and adds the components to the solution. Press the Residual button to show EEG signal that is not explained by the model (i.e. is not removed by artifact corection). You can toggle the Data button on and off to compare Residuals with orginal data. It is better however to use residuals for the brain source fitting procedure.

BESA-TMS-SA2.png

Investigating the source waveforms, it is noticeable that the fourth (pink) waveform is mostly flat. Therefore the third selected IC - the questionable TMS refractory artifact - ICA8 does not explain any ERP activity. In that situation it is a good idea to disable the component by pressing the On button to change it to Off state. The button is located close to the fourth source waveform.

Now have a closer look again at the remaining three source waveforms. The first one - the eyeblink is rather of minor importance here, but as we know that blinking may occur (and occurred) in the given example we would like to keep this source. The next two source waveforms came from IC indicated as TMS-decay related artifacts. Both sources of these ICs - blue and green - are close to each other and have a very similar orientation. Note that they are located over the left hemisphere, close to the central sulcus - see Example. Moreover, we can see that the blue source waveform starts much later (c.a. 50ms after stimulus) while the green one starts just after the stimulus onset. This strongly suggests that the blue source should be disabled as well, as it does not model the stimulus artifact as such. Now we have two artifact-related sources - the red one responsible for the eye-blink, the green one responsible for the TMS-decay artifact. Check out the residuals of EEG - they resemble a classical ERP now!

BESA-TMS-SA3.png

Now we can fit sources that will explain brain activity (this procedure is explained in detail in BESA Tutorial 4). As an initial step, the fitting interval should be selected. It is possible to switch the display from imported ICA to PCA decomposition of the residuals by pressing the ICA button (it will be switched to PCA). For the given example the rising part of residual ERP is selected (note that the PCA automatically adjusts to the selection). When most of the signal can be explained by one PCA component, that means that a good fitting interval was selected.

BESA-TMS-SA4.png

Finally, the sources have to be added and fitted. To add a source double click with left mouse button anywhere in the right window area (where the head schemes are visible). Because the stimulation caused a strong activation (120% rMT) it is possible that there might be cross-talk to the contralateral hemisphere. Therefore a second source should be added. In addition, a symmetry constraint between the first and second source should be set: While the second source is selected, select in Loc: symetric to from the drop-down list. Now the second source will be symmetric to the first one after fitting. Press the All fit button to indicate that all cortical sources should be fitted together at the same time. Note that the artifact related sources (spatial components) cannot be fitted. Press the Start fit button to perform the fit.

BESA-TMS-SA5.png

The final solution consists of two sources, both located in the precentral cortex, bilaterally. The left source is stronger and becomes active slightly earlier (50ms vs 53ms) than the right source, which is plausible concerning the stimulation protocol in the given example.