TESA user manual
  • Introduction
  • Installation, getting started, and reporting bugs
    • A quick intro to TESA
    • A quick intro to Matlab
    • A quick intro to EEGLAB
    • Reporting bugs
  • Overview of TMS-EEG analysis
  • Find and mark TMS pulses
    • Find TMS pulses
    • Find TMS pulses (alternative)
    • Fix TMS pulse latencies
  • Remove and interpolate TMS pulse artifacts
    • Remove TMS pulse artifact
    • Interpolate removed data
  • Remove TMS-evoked muscle activity and other artifacts
    • FastICA
    • Component classification (TESA)
    • Plot and remove components
    • Enhanced deflation method (EDM)
    • PCA compression
    • PCA suppression
    • Detrend
    • SSP–SIR
    • SOUND
  • Filter data
    • Butterworth filter
    • Median filter
  • Analyse TMS-evoked potentials
    • Extract TEPs
    • Find and analyse TEP peaks
    • Output peak analysis
    • Output peak analysis (group)
  • Plot TMS-evoked potentials
    • Plot data
    • Plot data (group)
  • Example analysis pipelines
  • TESA functions under development
Powered by GitBook
On this page
  • EEGLAB user interface
  • Scripts
  • Base function
  • Pop function
  • Required inputs
  • Outputs
  • Examples

Was this helpful?

  1. Remove TMS-evoked muscle activity and other artifacts

PCA suppression

PreviousPCA compressionNextDetrend

Last updated 4 years ago

Was this helpful?

This function suppresses data by the top PCA n-dimensions. Note that PCA is generated from average data, but subtracted from single trial data. For further details, see the following paper:

After the function is run, the user needs to decide how many principal components to remove. A summary figure showing the impact of removing between 1 and 5 of the top components on the EEG data is provided to assist with the decision.

Example of the summary figure following PCA suppression. The top figure shows the impact of removing between 1-5 principal components on the data. Once the user has decided how many PCs to remove, the number (between 0-5) is entered in to second window.

EEGLAB user interface

1. Enter the time range considered by the principal component analysis. This should be the time range in which the TMS-evoked muscle artifact is expected. Times are in ms.

Scripts

Base function

EEG = tesa_pcasuppress( EEG, timeWin ); Default use.

Pop function

EEG = pop_tesa_pcasuppress( EEG ); Pop up window.

EEG = pop_tesa_pcasuppress( EEG, timeWin ); Custom inputs.

Required inputs

Input

Description

Example

Default

EEG

EEGLAB EEG structure

EEG

-

timeWin

Vector setting time window for data suppression in ms. [start, end]

[11,50]

-

Outputs

Output

Description

EEG

EEGLAB EEG structure

Examples

EEG = pop_tesa_pcasuppress( EEG, [11, 50] );

Hernandez-Pavon et al (2012) Uncovering neural independent components from highly artifactual TMS-evoked EEG data. J Neurosci Meth, 209:144-57.