Skip to main content

ORIGINAL RESEARCH article

Front. Hum. Neurosci., 18 December 2020
Sec. Brain Imaging and Stimulation
This article is part of the Research Topic Novel Multimodal Approaches in Non-Invasive Brain Stimulation View all 11 articles

Signal-Space Projection Suppresses the tACS Artifact in EEG Recordings

  • 1Experimental Psychology Lab, Cluster of Excellence “Hearing4all”, European Medical School, University of Oldenburg, Oldenburg, Germany
  • 2Department of Neuroscience and Biomedical Engineering, Aalto University School of Science, Espoo, Finland
  • 3Physiological Psychology Lab, University of Salzburg, Salzburg, Austria
  • 4Center for Mind/Brain Sciences, University of Trento, Trento, Italy
  • 5Research Center Neurosensory Science, University of Oldenburg, Oldenburg, Germany

Background: To probe the functional role of brain oscillations, transcranial alternating current stimulation (tACS) has proven to be a useful neuroscientific tool. Because of the excessive tACS-caused artifact at the stimulation frequency in electroencephalography (EEG) signals, tACS + EEG studies have been mostly limited to compare brain activity between recordings before and after concurrent tACS. Critically, attempts to suppress the artifact in the data cannot assure that the entire artifact is removed while brain activity is preserved. The current study aims to evaluate the feasibility of specific artifact correction techniques to clean tACS-contaminated EEG data.

New Method: In the first experiment, we used a phantom head to have full control over the signal to be analyzed. Driving pre-recorded human brain-oscillation signals through a dipolar current source within the phantom, we simultaneously applied tACS and compared the performance of different artifact-correction techniques: sine subtraction, template subtraction, and signal-space projection (SSP). In the second experiment, we combined tACS and EEG on one human subject to demonstrate the best-performing data-correction approach in a proof of principle.

Results: The tACS artifact was highly attenuated by SSP in the phantom and the human EEG; thus, we were able to recover the amplitude and phase of the oscillatory activity. In the human experiment, event-related desynchronization could be restored after correcting the artifact.

Comparison With Existing Methods: The best results were achieved with SSP, which outperformed sine subtraction and template subtraction.

Conclusion: Our results demonstrate the feasibility of SSP by applying it to a phantom measurement with pre-recorded signal and one human tACS + EEG dataset. For a full validation of SSP, more data are needed.

Introduction

The goal of transcranial alternating current stimulation (tACS) is often the modulation of oscillatory brain activity and the concurrent demonstration of behavioral consequences of the intervention (Herrmann et al., 2013). Thus far, most studies combining tACS with electroencephalography (EEG) have demonstrated effects on oscillatory brain activity only by comparing the EEG before and after tACS (Zaehle et al., 2010; Vossen et al., 2015; Kasten and Herrmann, 2017), because EEG data recorded during stimulation are contaminated by an immense tACS-generated artifact at the stimulation frequency which exceeds the range of physiological EEG signals by several orders of magnitude. As a first indicator for the successful manipulation of brain oscillations, behavioral effects found during application of tACS have been interpreted (Neuling et al., 2012; Polanía et al., 2012; Cecere et al., 2015), sometimes together with aftereffects of the stimulation (Neuling et al., 2012). Additionally, it is possible to analyze the EEG spectrum outside the tACS frequency, simply by applying adequate bandpass filters to the stimulated frequency band. It is particularly important, however, to measure the neuronal activity at the stimulation frequency, because the changes at the stimulated frequency are expected during successful entrainment (Thut et al., 2011; Kasten et al., 2018). At present, the neuronal activity directly at the stimulated frequency is technically not measurable because it is masked by an excessive electrical artifact. In this study, we aim at recovering physiological signals from EEG data at the frequency of stimulation, while the stimulation has been active.

Correction of the tACS artifact in EEG recordings is more challenging as it is the case for magnetoencephalography (MEG). Due to the high spatial sampling, MEG studies on concurrent tACS online effects rely on the application of spatial filtering (a.k.a. beamforming) to deal with the artifact (Neuling et al., 2015; Kasten et al., 2018; Herring et al., 2019). These spatial filters achieve a strong, yet imperfect attenuation of the tACS induced electromagnetic that required additional correction, e.g., by contrasting two conditions with similar extent of the residual artifacts (Kasten et al., 2018; Herring et al., 2019). These residuals likely originate from non-linear modulations of the tACS artifact elicited by physiological processes in the human body (Noury et al., 2016; Noury and Siegel, 2018), which also have to be taken into account in EEG recordings. The issue of tACS artifact correction in MEG data is discussed elsewhere (Neuling et al., 2015; Noury et al., 2016; Neuling et al., 2017; Noury and Siegel, 2018; Kasten and Herrmann, 2019) and will not be further addressed in this article.

Even though MEG might be better suited to analyze concurrent neurophysiology during tACS, EEG is a lot more common as a research method and thus it is desirable to have a method to suppress the artifact in EEG as well. Only a few studies so far have approached this issue (Helfrich et al., 2014; Voss et al., 2014; Dowsett and Herrmann, 2016; Kohli and Casson, 2019). While they represent milestones in tACS research, these studies also disclose a fundamental question: How can one assure that the brain responses of interest are not removed and that no residual artifact remains? To answer this question, it would be necessary to evaluate the performance of the artifact-correction procedure; however, this cannot be easily achieved when the brain activity to be recovered is virtually unknown. To tackle this issue, we conducted two experiments. First, we used a phantom to have full control over the “brain” signal and the “tACS” signal. Using pre-recorded human EEG as the source-current waveform in the phantom, we simultaneously applied tACS and compared different artifact-correction techniques. Second, the obtained results were used to demonstrate the feasibility of the artifact-correction performance in a human tACS+EEG experiment.

Experiment 1: Phantom Study

Material and Methods

Terminology

Although we used a phantom head in the first experiment, we will use terminology that has been established in human experiments in order to promote readability. For example, we will use “EEG” to refer to the recorded signal and “tACS” to refer to the application of sine-wave current to the phantom head’s outer layer (“scalp”).

Experimental Setup

The experimental setup is depicted in Figure 1A. We used Matlab 2012b (The MathWorks Inc., Natick, MA, United States) on a laptop to control the delivery of pre-recorded EEG and the tACS signal to a digital-to-analog converter (USB-6229 BNC, National Instruments, Austin, TX, United States). From here, the EEG signal was driven through a dipole source located inside a phantom head. The tACS signal was first sent to a battery-operated stimulator system (DC stimulator plus, Eldith, Neuroconn, Ilmenau, Germany) before being applied to the phantom head. We used a system here that we have regularly used in experiments on human participants from our lab (e.g., Neuling et al., 2015; Vosskuhl et al., 2016) and which is widely used throughout tACS-literature. For comparability, we also used the same machinery in experiment 2 of this study. The EEG that was recorded from the phantom head was stored for offline analysis.

FIGURE 1
www.frontiersin.org

Figure 1. Experimental set-up and the structure of the phantom. (A) Schematic illustration of the hardware setup as well as the signal delivery and recording (BV recorder: Brain Vision EEG recording software; NI-DAQ: National Instruments digital-to-analog converter). Arrowheads indicate the direction of information flow. (B) Photo of the phantom head. (C) Cross section of the phantom head along the midline. The dashed inner circle shows the inner porous spherical shell (skull), and the outer circle shows the outer spherical shell confining the scalp. Both the inner and outer shells were 2 mm thick. (D) Stereographic projection of the phantom from above, depicting locations of EEG (circles) and tACS electrodes (blue and red squares), and the dipolar source.

Phantom Head

Our goal was to construct a phantom that captures crucial aspects of a human head receiving tACS: First, an artificial neural current source, second, a possibility to apply tACS to the surface of the phantom, and third, recording the combined signals. Furthermore, the phantom should possess the fundamental conductive properties of a human head: Most of the external current (tACS) is transmitted through the well-conducting skin, whereas the skull is a poor conductor of electricity. Likewise, most of the internal neuronally-driven ohmic currents remain inside the skull. Therefore, we built a spherical three-compartment phantom head with a dipolar current source inside the innermost space, as well as stimulation electrodes and recording electrodes on the outermost layer (Figures 1B–D). The phantom head was filled with a fluid whose conductivity roughly matched that of human brain and scalp (0.57 S/m). The skull was realized as a porous spherical shell between the scalp and the brain with a conductivity of 0.019 S/m (conductivity values adapted from Gonçalves et al., 2003; Lai et al., 2005). A detailed description of the construction of the phantom head can be found in the Supplementary Section “Phantom Head Construction.”

EEG

We delivered to the dipolar source of the phantom a signal waveform that resembles human EEG. We used 60 s of human resting-state EEG previously recorded from a human participant (male, 24 years, right-handed) with his eyes closed over the occipital cortex at electrode position O2 (Reference: nose) of the international 10–20 EEG system at 1 kHz sampling frequency using the Brain Vision Recorder with a BrainAmp DC amplifier system (Brain Products, Munich, Germany). After up-sampling the signal to 100 kHz and high-pass filtering at 1 Hz, the signal was delivered to a dipole inside the phantom head and recorded from 18 electrodes (Figure 1D) with 5 kHz sampling frequency. We call this signal the “phantom EEG.” The recordings were amplified in the range of ±3.2768 mV at a resolution of 0.1 μV (16 bits) using the Brain Vision Recorder and BrainAmp MR amplifier with an online notch filter (50 Hz). The ground electrode was at location A1, the reference at a point comparable to the tip of the nose. The amplitude of the EEG signal driven through the dipole inside the phantom head was adjusted so that the amplitude of the resulting phantom EEG matched that of the pre-recorded human EEG (0.1–2.3 μV). To guarantee a perfect temporal alignment of the measured EEG at the phantom, the neural current source was synchronized with the tACS and the playback EEG via the BrainVision Syncbox (Brain Products, Munich, Germany; Figure 1A). The EEG data were digitally stored for further offline analysis.

Transcranial Alternating Current Stimulation (tACS)

We generated a digital 10-Hz sine wave at a temporal resolution of 100 kHz and output it via a digital-to-analog converter to the tACS electrodes of the phantom at electrode positions that were similar to Cz and Oz (Figure 1D, Figure 2A). The amplitude of the tACS signal was adjusted to avoid clipping, which would make the recovery of the EEG signal impossible. The largest tACS intensity that we could drive to the phantom without causing any clipping in the EEG channels was 150 μA, resulting in a maximum voltage between 30.5 and 1197.0 μV across the channels. We used two different tACS current intensities: 50 and 150 μA. The EEG amplitudes of the artifact depended linearly on the tACS current amplitude (50 μA: 10.2–399.3 μV) and were strongest in channels close to the tACS electrodes (Figure 2B, top row).

FIGURE 2
www.frontiersin.org

Figure 2. Comparison of baseline data and tACS-contaminated data. (A) An illustrative 2-s segment of the baseline (black) and the artifactual data (red and yellow) measured at electrode Pz. (B) The topographies showing the average amplitude in the range 8–12 Hz of the artifactual and baseline data. (C) Circular histogram of the phase-difference distribution between the artifactual data and the baseline data at 10 Hz across all epochs and channels for the 50-μA (yellow) and 150-μA (red) condition. (D) Frequency spectra of the 50-μA (yellow), 150-μA (red), and baseline conditions (black). Because of the logarithmic scale the peak amplitudes at 10 Hz for the 50-μA and 150-μA conditions appear similar regardless of the threefold difference.

Artifact Correction

To evaluate the performance of different artifact-correction techniques, we first recorded the phantom head EEG resulting from the dipole current alone; this served as the baseline condition. Then, we applied tACS to the phantom while the dipolar source was active. Subsequently, we compared the performance of different artifact-rejection techniques [sine fitting, template subtraction, and signal-space projection (SSP)] in recovering the baseline signal from the data contaminated with the tACS artifact. Spectra of the uncorrected data, recorded from the phantom can be seen in Figure 2D.

Sine Fitting

The most intuitive approach to remove the sinusoidal tACS-artifact is subtracting a sine wave at the stimulation frequency from the recorded data. This method has previously been applied to remove line noise from EEG data (Mitra and Bokil, 2007). We fitted a sine wave at the tACS frequency to non-overlapping time windows, each window having the length of one tACS period. The fitting was done for each channel separately, using the least-squares criterion with amplitude and phase as the fitted parameters. The resulting fits were then subtracted from the artifact-contaminated data in each time window.

Template Subtraction

The template subtraction method was adapted from a technique previously used to remove artifacts in simultaneous EEG + functional magnetic resonance imaging (fMRI) recordings (Allen et al., 2000; Niazy et al., 2005) and has also been applied to remove the tACS artifact from EEG data (Helfrich et al., 2014). Here we used a version of template subtraction that best matches the procedure described in (Kohli and Casson, 2019).

An artifact template was created by averaging data of a given number of tACS cycles (500 cycles in the phantom case) and then subtracting the resulting template from each tACS cycle of the data. We used electrode-specific templates, which were obtained by averaging over all the tACS periods across the data segment of interest. These electrode-specific average artifact templates were then subtracted from the data in non-overlapping windows.

Signal-Space Projection (SSP)

Signal-space projection is a method that separates signals into a set of different components that have constant spatial patterns in a multidimensional signal space, but whose amplitudes may change as a function of time; SSP has been used for separating, e.g., EEG and magnetoencephalography (MEG) signals (Uusitalo and Ilmoniemi, 1997). This feature can be exploited for the combination of EEG and tACS because tACS has a relatively constant spatial pattern, although it may change slightly due to changes in the conductive properties of the scalp. If we are able to estimate this spatial pattern accurately, we can use SSP to suppress the tACS artifact.

First, a maximally pure template of the artifact has to be calculated from the signal. To this end, single cycles of the sinusoidal tACS-artifact are averaged per channel. Thereby the brain signal is mostly removed from the recorded signal and only artifactual signals and noise remain. These remaining data are used to estimate the artifact signal subspace, which enables us to project out the artifact from the contaminated data. Here, the artifact subspace was estimated from the average artifact template (see section “Template Subtraction”), assuming that only little brain activity remains after averaging. The dimension of the artifact subspace was determined qualitatively from the singular value spectrum of the average artifact template. A detailed description of the SSP method can be found in the Supplementary Section “SSP Details”.

One feature of SSP is that it introduces spatial distortions to the signal, which impedes conventional visual interpretation of the resulting signal. To minimize these undesired distortions and keep the corrected data visually interpretable, we used the source-informed reconstruction approach (SIR) introduced by Mutanen et al. (2016). The idea of SIR is to compute from the projected (distorted in a perfectly known manner) signal a brain current distribution and from this current distribution, the corrected signal. For SIR, one needs to compute the lead field matrix of the chosen forward model to explain the measured data in terms of source currents. We used a spherical model that had the same geometry as the phantom containing 5,000 evenly distributed radial dipoles 50 mm away from the origin. From now on, we refer to the combined SSP–SIR approach simply as SSP. Since SIR is not sufficient to correct all the SSP-elicited distortions, we also applied SSP and SIR to the baseline data to make it comparable to the SSP cleaned data (further details in Supplementary section “SSP Details”). The major benefit of this approach is that it allows a direct comparison of the two datasets (e.g., baseline data and artifact-contaminated data) because we are quantifying the change from the baseline to the tACS-contaminated data only in those signal-space dimensions that remain after cleaning. In essence, this approach takes into account the possible unwanted attenuation of the neuronal signals of interest (overcorrection). We want to point out here that comparisons in the case of the sine and template subtractions were done using the original, unmodulated baseline, because with sine or template subtraction, possible overcorrection of signals of interest is typically not known. However, with SSP the removed topographies (signal-space directions) are perfectly known, and to allow an unbiased comparison between two datasets, it is recommended to remove the same directions from both. The approach is analogous with rejecting bad EEG channels; to compare two datasets reliably, the comparison should be done in those channels (signal-space directions) that were identified to be good in both datasets. See the mathematical explanation in the Supplementary Equations SE1–SE8.

Analysis of the Phantom Data

To remove slow drifts and high-frequency noise, the data were bandpass-filtered from 2 to 80 Hz with a 4th-order Butterworth filter. For the artifactual datasets, we identified the exact data point when tACS started and the corresponding time point in the baseline dataset. We discarded the first second of data due to artifacts related to initializing the tACS and extracted a 50-s segment (1–51 s with respect to the tACS onset) for further analysis. We then applied the artifact-correction techniques to these data segments. The resulting data will be referred to as “cleaned data”. As indicated above, SSP was also applied to the baseline data prior to comparison. After the cleaned and the baseline data were divided into 2-s epochs, we Fourier-transformed each of these epochs and computed the epoch- and channel-specific amplitudes and phase-angle spectra.

To evaluate the performance of the artifact-rejection techniques, we first quantified the root-means-square error (RMSE) between the ground-truth baseline data and the cleaned data (using all the samples across the whole 50-s time range and all 18 channels) and compared the obtained value with the RMSE between the baseline and artifactual data. The target RMSE (floor value) was calculated using a 6-s segment of the noise in the baseline data before the neural source had been turned on. Next we estimated the degree of tACS-artifact contamination in the cleaned data by calculating the residual artifact (RA) for each channel as:

R A = ( P clean - P base ) ( P art - P base ) × 100 %

where Pclean Pbase, and Part represent the signal power at 10 Hz for the cleaned, baseline, and artifactual data, respectively. A positive RA implies that the tACS artifact was not fully removed, whereas a negative RA suggests that some additional distortion was introduced in the data (e.g., attenuation of the signal of interest). We quantified spatial distortions elicited by the artifact rejection techniques by computing the topography maps of signal amplitude averaged between 8 and 12 Hz of the baseline and cleaned data. We then computed the relative error (RE) between the baseline and the cleaned topographies:

R E = | y clean | - | y base | | y base | × 100 %

where yclean and ybase are the topography vectors of the cleaned and the baseline data, respectively, and the | | represents the Euclidian norm of the topography vector. The level of temporal distortions caused by the artifact-suppression methods was assessed by computing the correlation coefficient (CC) between the baseline and cleaned time courses in each channel and trial.

To further evaluate whether the amplitude spectrum of the neural source was recovered correctly, we computed the average spectrum over the epochs and compared the cleaned and baseline data of each channel separately. We focused the analyses on the individual alpha frequency (IAF: 10.5 Hz), the spectral peak in the range of 8–12 Hz estimated from the baseline spectrum. The IAF amplitude was computed separately for each of the 25 2-s epochs before and after applying the different artifact-removal methods. To test whether the correction methods distort the IAF amplitude, we performed a 2-way ANOVA (factor 1: 18 channels, factor 2: two conditions, i.e., cleaned data and baseline data) and post hoc t-tests, the epoch-specific IAF amplitudes serving as samples.

To analyze possible phase distortions, we subtracted for each epoch, channel, and frequency the baseline phase angle from the phase angle of the cleaned data. We visualized the phase difference at 10 Hz, when the artifact was in its maximum (Figure 2C). Additionally, we computed the phase-locking value (PLV) (Lachaux et al., 1999) between the baseline and the cleaned data for each channel. To test whether the phase locking between the corrected and the baseline EEG was significant at the IAF, which would indicate preserved phase information, we used Bonferroni-corrected bootstrapping tests (Lachaux et al., 1999). To test whether the artifact removal had significantly improved PLV between the baseline and the tACS-artifact contaminated data, additional bootstrapping tests were performed to compare the PLV between the artifactual and baseline data to the PLV between the cleaned and baseline data. In these tests, the epochs were resampled with replacement 10,000 times, and the resulting distribution for difference between the original PLV and PLV after cleaning was formed. If 95% or more of the probability mass showed that PLV after cleaning was higher, the improvement was considered significant. The same tests were performed to each channel, and cleaning methods and the bootstrap tests were Bonferroni corrected accordingly. All analyses were done using Matlab 2014b (The MathWorks Inc., Natick, MA, United States) and the EEGLAB 13.4.4b toolbox (Delorme and Makeig, 2004).

Results

All artifact-correction methods were able to attenuate the tACS artifact (Tables 1, 2). RMSE was clearly decreased by all the tested methods, SSP-cleaned data showing the smallest discrepancy with the baseline data (less than 0.5% of the original error). SSP was the only method that reached the floor RMSE value (1.1 μV). After applying each method, the amplitude spectra were in the range of the signal of interest (Figure 3); however, seemingly at the expense of different degrees of overcorrection, which means that also non-artifact activity had been removed. Sine fitting demonstrated higher overcorrection compared to template-subtraction and SSP (Table 2, RA results). Spatial information was distorted by all applied methods, SSP recovering the EEG-topography the best. That said, even SSP failed to recover the spatial information perfectly, as can be seen in the subtle differences in topographies in Figure 4B. The spatial information was best recovered by SSP, demonstrating only minor errors compared to template subtraction, whereas sine fitting yielded strong deviations (Table 2, RE results). Specifically, sine fitting shows the largest deviation in the frequency range of 5–15 Hz (Figure 5, right). On average, SSP and template subtraction performed similarly; however, SSP had less variation across the channels, which can be seen in the more homogeneous topographies of SSP in comparison to Template subtraction (Figure 5). Note the comparatively large RE in channel P3 after applying SSP, is caused by a very low signal-to-noise ratio in this channel as can be already seen in the baseline condition (see Figure 2B). Channel-wise frequency spectra further demonstrate the poor performance of the sine fitting within the 5–15-Hz range (Figure 3, left). SSP yielded the best results, especially when comparing SSP-baseline data with SSP-cleaned data: the spectra matched almost perfectly (Figure 3, right). Furthermore, SSP was the superior method in recovering the temporal information (phase) of the baseline signal both at the stimulation frequency as well as at IAF, whereas template subtraction and sine fitting poorly recovered the baseline signal in a number of channels (Figure 5, left). The difference in preserving the temporal information was also supported by high correlations of the signal between the baseline and the SSP-cleaned data compared to the other methods (Table 2, CC results). Additional support comes from the results of the bootstrapping analysis of the PLV at the IAF: After SSP, the PLV between cleaned and baseline data was significant, for all channels and conditions (p < 0.05, after Bonferroni correction). After template subtraction, PLV was significant in most of the channels in both conditions (p < 0.05) except for three cases (50 μV tACS – P3: p = 1; 150 μV tACS – P3: p = 1, O1: p = 0.36, after Bonferroni correction). After sine fitting, no results were significant in the 50-μA-tACS condition and only one channel had a significant PLV in the 150-μA-tACS condition (F3: p < 0.05, after Bonferroni correction). When comparing the PLV before and after cleaning, only SSP showed significant improvement. In particular, in those channels that originally showed high artifact-power, PLV was significantly improved by SSP (p < 0.05 after Bonferroni correction; 50-μV-tACS condition: channels F3, Fz, C3, C4, T5, Pz, O1, and O2; 150-μV-tACS condition: channels Fp2, F3, Fz, F4, C3, C4, T5, Pz, O1, and O2).

TABLE 1
www.frontiersin.org

Table 1. Comparison of the original and the cleaned datasets with the baseline data in terms of the root-mean-square error (RMSE).

TABLE 2
www.frontiersin.org

Table 2. Comparison of the artifact-correction performance.

FIGURE 3
www.frontiersin.org

Figure 3. Frequency spectra for each channel. (Left) The baseline data (black) are compared with the cleaned data after applying sine fitting (blue) and template subtraction (red). (Right) SSP baseline data (black) compared with the SSP cleaned data (green). Here, 150-μV stimulation was delivered at 10 Hz.

FIGURE 4
www.frontiersin.org

Figure 4. Comparison between baseline and SSP-cleaned data when delivering tACS with 150 μA. (A) A 2-s segment of baseline (black) and cleaned data (red) measured at electrode Pz. (B) Topographies showing the mean signal amplitude between 8 and 12 Hz of the cleaned and baseline data, respectively. (C) Histogram of the phase difference between cleaned artifactual and baseline data at 10 Hz across all epochs and channels. (D) The mean frequency spectra (averaged over epochs) for the baseline (black curve), original artifactual (red dashed curve), and cleaned artifactual data (solid red curve), in channel Pz, presented on logarithmic scale. (E) The mean frequency spectra of the baseline (black) and the cleaned data (red), in channel Pz, presented on a linear scale. Shaded areas indicate the standard error of the mean.

FIGURE 5
www.frontiersin.org

Figure 5. Phase-locking value (PLV) and relative error (RE) as function of frequency and different channels after artifact correction. PLV (left) and RE (right) for the different correction methods and tACS conditions as compared to the baseline. The black curves show PLV and RE as function of frequency in different channels, the red curve showing the average of the black curves. The dotted blue line depicts the stimulation frequency. Corresponding topographies show the mean value of the channel-specific black curves averaged across frequencies 0−40 Hz. In the PLV column, red indicates low PLV, meaning big distortions between baseline and corrected EEG (Note that PLV is a unitless measure). In the RE column, red means there was artifact left in the data, while blue depicts an overcorrection. Note that the color map of RE is thresholded to 50% absolute error and the plots in the RE section show only values between –1 and 2.

For sine fitting, the 2-way ANOVA (factor 1: 18 channels, factor 2: two conditions, i.e., cleaned data and baseline data) demonstrated that the IAF amplitude depends on the tACS intensity, which additionally interacted with the channel (cf. Table 3). Furthermore, the interaction between the channel and condition was significant, which means the artifact suppression is not reliable. Subsequent post hoc t-tests indicated significant changes in IAF amplitude in all channels and in both stimulation intensities [t(24) = 8.96, p < 0.001 for all channels].

TABLE 3
www.frontiersin.org

Table 3. Results of the two-way ANOVA on the IAF amplitude changes.

Likewise, after template subtraction, the ANOVA revealed a significant main effect of condition in the 150-μA-tACS data, but no interaction between channels and conditions. No such main effect for condition was found in the 50-μA tACS condition. The ANOVAs on the SSP data neither showed effects for the condition nor for the interactions in both tACS conditions (Table 3). In general, SSP outperformed sine fitting and template subtraction. A summary of the SSP performance is depicted in Figure 4.

Experiment 2: Proof of Principle on Human Data

After demonstrating in a phantom that a large portion of the tACS artifact can be suppressed with SSP (which is a short form for SSP-SIR), we wanted to give a proof of principle for the applicability of the SSP algorithm to human EEG data. To this end, we recorded EEG-data during the application of tACS while the subject engaged in a mental rotation task. The mental rotation task (Shepard and Metzler, 1971) is known to modulate ongoing alpha activity; while the stimuli are presented, occipital alpha oscillations desynchronize (Michel et al., 1994; Klimesch, 1999). This event-related desynchronization (ERD; Pfurtscheller and Lopes da Silva, 1999) has been used in studies to estimate the performance of methods for tACS artifact correction in MEG (Kasten et al., 2018). We thus employed a mental rotation task highly similar to Kasten and Herrmann (2017) and Kasten et al. (2018) to show the performance of the SSP-correction in one human subject.

We applied tACS concurrently with a mental rotation task using an open-source stimulus set (Ganis and Kievit, 2015; See Supplementary Section “Paradigm of the Human Experiment” for details and an illustration of the task). All experimental procedures were approved by a local ethics committee at the University of Oldenburg (Komission für Forschungsfolgenabschätzung und Ethik) and were in line with the Declaration of Helsinki.

To achieve a high comparability with tACS intensities as used in many previous studies, we decided to apply tACS at 500 and 1,000 μA. Note here that these tACS intensities might seem incomparable to the intensities used in the phantom (50 and 150 μA). The intensity of the stimulator output (in μA), however, is not as relevant when considering the correction of the artifact strength as measured via the EEG system (in μV). See Table 4 for a comparison of these values for our study. The artifact strengths for the human study turn out to be higher by a factor of 20 compared to the phantom study. Thus, the artifact correction in the human study is a lot more difficult.

TABLE 4
www.frontiersin.org

Table 4. Comparison of the tACS intensities, as set in the stimulator (left column), and artifact strengths as measured in the EEG signal (right column) between the phantom and the human study.

Materials and Methods

Electroencephalography (EEG)

Measurements were performed with a 24-bit battery-powered amplifier (ActiChamp, Brain Products, Munich, Germany) and 24 preamplifier-equipped electrodes mounted in an elastic cap (Acticap, Falk Minow, Munich, Germany) positioned according to the International 10–20 system (see Supplementary Figure S1 for details). Electrode impedances were kept below 10 kΩ. The EEG was measured against a common reference at position FP1 and sampled at 10 kHz. All recordings were resampled to 1 kHz in a first step before any further processing to match the sampling frequency in experiment 1. The EEG recording was synchronized with the tACS to guarantee an accurate measurement of the tACS artifact. With the ActiChamp system, it is possible to synchronize the two systems conveniently without a SyncBox.

Transcranial Alternating Current Stimulation (tACS)

The tACS current (10 Hz, with an intensity of either 0.5 or 1 mA), was applied using a battery-powered stimulator system (DC stimulator plus, Eldith, Neuroconn, Ilmenau, Germany) positioned next to the subject inside the cabin. EEG recording and tACS were both sampled at 10 kHz. Two rubber electrodes (5 cm × 7 cm), centered at Oz and Cz (corresponding to the stimulation sites of Experiment 1), were attached to the subject’s head using adhesive conductive paste (Ten20, Weaver and Company, Aurora, CO, United States). The tACS signal was created digitally in Matlab and transformed into an analog signal by a NI-DAQ before it was fed into the stimulator as in experiment 1. The stimulator then uses a gain of 2 on its external input to forward the external signal to the subjects’ head.

Correction of the tACS Artifact

Since the phantom data suggested that SSP would be effective in reducing the artifacts, we expected SSP to correct the tACS artifact also in the human EEG. With a few modifications, the method was directly transferred to the human data. The most relevant difference was that we recorded not only 60, but 600 s of tACS + EEG data, which represents a more realistic scenario in an EEG experiment. The SSP method relies on an accurate estimate of the template of the artifact. The accuracy of the template, however, depends on the length of the data taken into account: if more repetitions of the artifact (in our case, cycles of tACS) are averaged for the template, more residual EEG activity in the template is averaged out. It is known that the tACS artifact changes in amplitude over time due to changes in impedances between skin and stimulation as well as EEG electrodes. We therefore decided to apply the SSP procedure on portions of EEG data of 15 s each, while in the phantom data the 50-s segment of interest (of the entire 60-s recording) was corrected at once. After correction, the data were concatenated such that all analysis procedures could be performed as on the raw data. Other parameters, such as for SIR were identical to those used on the phantom data.

Analysis of Human EEG

As expected, the tACS artifact covered brain activity recorded during weak and strong tACS (Figure 6) with sharp peaks at the tACS frequency, the amplitude of strong tACS artifact being about 2 times higher than weak tACS (Figures 6B,C). The strong impact of the tACS was also visible in the topographies: while the topography of the average FFT amplitudes at 10 Hz of the EEG without tACS showed an occipital maximum, the topographies of the EEG with tACS represented only the centralized tACS artifact (Figure 6C). In order to correct the EEG for the tACS artifact, we applied SSP in all conditions, including the tACS-free baseline measurements (see Supplementary section “Amplitude Attenuation After SSP in Human Data” for details and a figure).

FIGURE 6
www.frontiersin.org

Figure 6. Baseline EEG and tACS-contaminated EEG. (A) A representative segment of EEG without tACS (black), and with simultaneous tACS at 500 (blue) and 1,000 μA (red). (B) Frequency spectra at 0.2-Hz resolution from the same conditions as in (A) and with the same color conventions. (C) Topographies of the baseline EEG (left) and the EEG contaminated by tACS with 500 (mid) and 1,000 μA (right).

After the EEG data were subjected to the SSP algorithm, they were segmented into epochs of 8 s around the onset of a mental rotation stimulus (−4 to +4 s around the stimulus). Time–frequency spectra were calculated of each epoch, using wavelets with 7 cycles over the whole time–frequency range. To increase the performance of the algorithm, data were resampled to 500 Hz before calculating the time-frequency spectra. To show the effectiveness of the SSP algorithm, no baseline correction was applied in the frequency dimension, i.e., the TF data were not normalized to a pre-stimulus baseline period. Thus, pre-stimulus activity is visible in the spectra. Furthermore, event-related (de-) synchronization (ERS/ERD) was calculated for the alpha band (8–12 Hz), by computing the absolute difference between pre- and post-stimulus interval as suggested by Kasten et al. (2018):

E R D e l t a = p o s t - p r e

Here, ‘pre’ and ‘post’ correspond to averaged amplitudes between 200 and 50 ms before stimulus onset and between 100 and 500 ms after stimulus onset, respectively. ERDelta is positive when the amplitude is increased after the presentation of an (visual) event (ERS). Negative values represent a decrease of the amplitude, i.e., an event-related desynchronization (ERD). This simple subtraction method is preferable to the more established method by Pfurtscheller and Lopes da Silva (1999) that is based on relative change in oscillatory power. When dealing with tACS-contaminated data, relative change can be strongly biased by residual artifacts in the data, while absolute differences are more robust to such influence. Under the assumption that the strength of the tACS artifact is not systematically modulated by the task, residual artifacts after correction can cancel out (Kasten et al., 2018; Kasten and Herrmann, 2019).

Results

In the time–frequency (TF) spectra before artifact correction (Figure 7A), one can see the strong tACS artifact in the second (500 μA tACS) and third row (1,000 μA tACS) as a relatively broad red bar which appears unmodulated throughout the time period depicted. FFT spectra of the uncorrected data can be seen in Figure 7E. Due to its high amplitude, the artifact dominates the TF spectrum. In fact, no characteristics of original brain activity can be seen in these plots. Another feature of these plots is the exaggerated 50-Hz line noise artifact. The enormous strength of which can be explained by the experimental setup: the stimulation signal is transmitted from the DAQ to the stimulator through a BNC cable. Even though those cables are shielded, they capture the line noise via electromagnetic induction. Since the stimulator directly transfers the incoming signal to the stimulation electrodes with a gain of 2, the induced line noise is amplified when the signal is conducted to the human scalp. In turn, the 50-Hz noise is amplified in the EEG recordings.

FIGURE 7
www.frontiersin.org

Figure 7. Time–frequency results. Panels (A,B) before SSP; panels (C,D); after SSP. TF spectra depict decompositions of event-related EEG data from electrode Pz. Color bars are the same for all TF spectra (A,C). Black rectangles illustrate the time–frequency sub-spectra used to calculate the ERS topographies. Panel (E) illustrates the effect of SSP on the frequency spectrum in the alpha range (5–15 Hz) on logarithmic scale. Data for panel (E) are identical to the data depicted in the other graphs but were transformed into the frequency domain by an FFT.

In the baseline tACS condition, the alpha decrease (ERD) after stimulus presentation can be seen by visual inspection. For a better comparison, the color bars for all TF spectra depict the same value range. After artifact correction, time–frequency spectra of the tACS conditions (50-μA tACS and 500-μA tACS) did not show an apparent residual artifact (Figure 7C) and natural alpha fluctuations became visible. Data from the baseline tACS condition has also been subjected to the SSP algorithm. Therefore, the difference between the two time–frequency spectra in the first rows of Figures 7A,C show the amplitude reduction due to SSP as was described above and which the SIR approach could not restore. The topographies show ERD over parietal areas before artifact correction (Figure 7B) and afterward (Figure 7D). Note that no occipital electrodes were measured due to the stimulation electrode that covered that area. Thus, shading over occipital areas is extrapolated from other channels. From visually inspecting the topographies, one can clearly identify ERD over parietal areas in all conditions after SSP.

Since ERDelta is a relative measure, one could argue that the correction of the artifact is not even necessary because the calculation of ERDelta is a normalization to a pre-stimulus baseline in the time dimension and would thus be sufficient to cancel out the artifact. However, a recent simulation indicates that strong attenuation of the tACS artifact is necessary to allow the cancelation by computing difference measures to work (Kasten and Herrmann, 2019). To test this assumption on real data, we calculated ERDelta also for the uncorrected data. The resulting topographies are depicted in Figure 7B. The range of the ERDelta is strongly reduced in comparison to the data after SSP correction (Figure 7D) in the tACS conditions in rows 2 and 3. Also the topographies do not show the expected occipito–parietal orientation but appear distorted without a distinctive pattern (Figure 7B, row 2 and 3). In line with predictions of the simulation in Kasten and Herrmann (2019) this result indicates that the artifact completely masks the stimulus-related amplitude reduction and that a reduction of the artifact is necessary to recover the underlying brain activity.

Discussion

We evaluated artifact-correction techniques to find a feasible method to remove the tACS artifact from EEG data. By comparing different methods applied to phantom data, we found SSP-SIR (“SSP” in short) to perform the best in recovering the signal of interest. As a proof of concept, we applied SSP to human data from a tACS + EEG experiment and demonstrated to which extent oscillatory parameters such as event-related oscillations can be recovered.

Our initial question was how to estimate that an artifact-correction method does not remove the brain responses of interest and minimizes residual artifacts remaining after correction. We approached this question by applying different methods on a phantom head in which we were in full control over the to-be-recovered EEG signal and the stimulation signal. We found that the SSP method performed best with only minor distortions of the EEG signal compared to template subtraction and sine fitting. For the phantom head, we could quantify this distortion, finding that SSP mildly overcorrects the artifact. However, with SSP this overcorrection can be taken into account when comparing the cleaned signal to the baseline (see Supplementary section “SSP Details” for details). With the phantom, possible physiological effects might be underestimated, because the SSP correction attenuates endogenous amplitudes at the stimulation frequency. For human data, we cannot be entirely sure about the performance of the correction as we do not exactly know the ground truth; however, we compared the same experimental conditions with and without concurrent tACS. Overall, these results suggest that the artifact correction was successful despite an overall reduction of amplitudes; SSP was able to recover subtle changes in alpha amplitude (ERD) relative to a pre-stimulus baseline.

Phantom vs. Human Head

An important question is whether the results obtained in the phantom experiment can be generalized to human data. Obviously, a human head is not three-layered and perfectly spherical. A study by Kim et al. (2015), however, showed that the three-layer spherical model is quite accurate in capturing the essential characteristics of the electric-stimulation-generated ohmic currents in scalp, skull and the brain. Within the typical operating frequency range of tACS, the quasi-static approximation holds in the human head (Opitz et al., 2016). I.e., the conductivity structure of the head, governing the distribution of the ohmic tACS currents, does not change over time or depend on the stimulation frequency. When constructing the phantom, we only measured the impedance magnitude of the conductive medium. In the next generation phantoms, it is recommended to measure also the impedance phase to makes sure, the phantom perfectly fulfills the quasi-static conditions (Owda and Casson, 2020). However, given the recent measurements in a NaCl based gelatin phantom (Owda and Casson, 2020), it is unlikely that the simple NaCl solution used here would show strong impedance phase within the typical operating frequency range of tACS.

Another difference lies in the sources of activity: contrary to the many sources in a human brain, our phantom only had one neural source. Given that SSP performance depends on the orientation and location of the neural source, the method might further attenuate some neural signals of interest given that their topography can be similar to that of the artifact. This problem can be tackled by evaluating possible signal distortions after SSP (Uusitalo and Ilmoniemi, 1997). A recent work (Yu and Hairston, 2019) provides detailed open-source instructions how to construct a realistic head phantom with several neural sources.

In our phantom study, the dipolar current source oscillated independently of the external stimulation. This might produce over-optimistic results when using template subtraction. If neural activity synchronizes to the tACS, it will be attenuated after subtracting the template; however, perfect phase alignment cannot be expected from real neuronal activity (Van Veen et al., 1997). This also applies to the sine-fitting method: only if the tACS entrains perfectly to the neural frequency at which the brain is stimulated, then sine fitting will also attenuate the entrained brain oscillations.

Another difference of the phantom measurement compared to real human EEG data concerns the electrode–skin impedances: In the phantom head, the artifact amplitude was constant over the course of the stimulation because the electrode–skin impedances remained constant. This allowed us to use all trials to create a template to be subtracted. For real human EEG data, this is not necessarily the ideal approach because the tACS artifact amplitude varies over time due to changes in impedance, elicited by physiological processes in the human body such as heart-beat and respiration (Noury et al., 2016). This poses a problem for the template subtraction method because the subtraction of an incorrectly sized template will result in a residual artifact: the fewer trials are used to create the template, the wider the notch in the Fourier spectrum will be. The problem notably also applies to the SSP method, since the artifact subspace is also calculated based on a data-based template of the artifact. In the human experiment, we tackled the problem of varying impedances by applying the SSP in temporal steps of 15 s.

The tACS current strengths strongly differed between the phantom and the exemplary human data. While in the human subject we applied an intensity comparable to other tACS-studies (1,000 μA), in the phantom we were only able to apply up to 150 μA to avoid clipping artifacts in the data. This limitation of current intensities was less severe in the human experiment, because we were able to use a 24-bit amplifier system in that case, which was not available for the phantom measurements. This general limitation of the phantom experiment may lead to over interpreting the effectiveness of the SSP algorithm. We were, however, able to recover subtle dynamics in the alpha-range even for the 1,000 μA tACS condition in the human. We want to point out here that the artifact, relative to the brain signal was stronger in the human data by a factor of 20 and therefore this condition can be considered more difficult. With this in mind, we argue for the potential of the SSP algorithm to recover EEG in the frequency-band of stimulation also in human subjects at realistic stimulation intensities and encourage a more elaborate examination of the method in further studies. Further on, we would like to add that the conductivity-values used to build the phantom were taken from literature to roughly match the human head (i.e., Gonçalves et al., 2003; Lai et al., 2005). This means that the conductivity of the phantom, even though being comparable to that of a human head, does not perfectly match.

Sine Subtraction

Most commonly, the tACS signal is a sine wave (Herrmann et al., 2013). Therefore, it is an intuitive assumption that one can simply fit and subtract a sine from the contaminated EEG signal and the artifact is removed. An advantage of this method would be that the signal in each electrode can be cleaned separately; this may be beneficial in experimental setups with a small number of electrodes; however, we demonstrated that the sine subtraction method shows a comparatively poor performance. The main problem with sine fitting is that using a least-squares criterion can result in overfitting or underfitting if a significant proportion of the EEG signal of interest phase aligned to the artifact. Another problem with sine fitting is that the tACS artifact is not a perfect sinusoidal wave, but rather a series of analog amplitudes generated by a digital-to-analog converter (DAC), i.e., the sine wave is approximated by a kind of step function and each step is superposed with an exponential due to capacitance inside the DAC. Additionally, the measured artifact is non-sinusoidal due to its interaction with physiological tissues (Noury et al., 2016). A perfect sine wave subtracted from a slightly distorted sine wave will result in a residual artifact. If the artifact is several orders of magnitude larger than the neuronal signals of interest, even small relative differences between the perfect sine-wave model and the actual tACS artifact waveform can cause large absolute errors in the corrected EEG. Overall, our results suggest that this subtraction method cannot be recommended for tACS artifact correction.

Template Subtraction

Like the sine-wave-subtraction method, template subtraction can remove the artifact for each electrode separately. Compared to the sine-fitting approach, template subtraction demonstrated a clearly better performance at recovering the baseline signal in the phantom data; however, especially the temporal fine structure (phase) could not be perfectly recovered. Before applying template subtraction to human tACS + EEG data, several practical considerations should be taken into account.

Typically, the size of the tACS artifact in human EEG can vary due to impedance changes of the tissue (Noury et al., 2016), which can result in improper templates and subsequent residual tACS artifact or a loss of neural EEG signal. Fitting the template to the artifact in the raw EEG by minimizing the sum of squares (Helfrich et al., 2014) can help with the problem of variation in the amplitude of the artifact; however, this can also result in over- or underfitting. In the phantom-head data, we found that fitting the template to the artifact using least squares resulted in worse recovery of the contaminated signal than simple template subtraction (data not shown). Another solution would be to use temporarily more specific templates by averaging a smaller number of adjacent cycles (moving-average approach); however, the less cycles are included to compute the template, the wider the affected frequency range. A third option is to increase the length of the template (i.e., 2, 3, or more cycles of the artifact). An analysis of how the length of the template and the number of averaged segments influence the resulting EEG recovery can be found in Zebrowska et al. (2020).

Signal-Space Projection (SSP)

We found SSP to yield the best artifact-correction performance. Artifact-contaminated phantom data could be recovered almost perfectly; the application to human data is promising. A major difference between SSP and both sine fitting and template subtraction is that it is based on spatial filtering, thus it may project out artifactual components that are invisible to sine fitting and template subtraction. Even though SSP is able to correct the artifact almost completely in the phantom data, it distorts signals, although in a perfectly known way: the cleaned signals are not meant to be estimates of the signal in the original channels in question (Mäki and Ilmoniemi, 2011). The signals after SSP are known linear combinations of the original EEG signals and can be used without bias in source estimation (Uusitalo and Ilmoniemi, 1997) as long as the data still has a sufficient dimensionality. SIR can correct some of the SSP-induced spatial distortions; however, the original signal amplitudes cannot be perfectly recovered in all channels because some linear components of the signals have been zeroed, leading to overall reduction in amplitude (Supplementary Figure S2). We were able to recover time–frequency spectra showing ERD in the alpha range after correction. This indicates that SSP does not completely diminish activity at the stimulation frequency like a notch filter would, but can recover activity even at the stimulation frequency. Comparing tACS-free data with and without the application of SSP–SIR reveals a general decrease of amplitudes in the FFT spectra, which seems to be stronger at higher amplitudes. This is the likely reason why SSP resulted in RMSE of even below the floor value; in addition to the tACS artifact, also other noise located in the artifact subspace was attenuated. Topographic similarity of the artifact and the signals of interest contribute to the unwanted attenuation of the latter; the more similar they are, the higher the attenuation. This is also evident in the human data as the topography of the resting-state alpha and the artifact topographies varied significantly. We advise to apply the SSP–SIR method when comparing data from tACS conditions with tACS-free conditions. Still, most reliable results can be achieved when contrasting experimental conditions combined with the same tACS condition. There is some consensus among different research groups that under the assumption that residual artifacts are present in two experimental conditions to a similar degree, they can cancel out when computing difference measures, such that only the physiological effects remain (Neuling et al., 2015; Kasten et al., 2018; Noury and Siegel, 2018, Herring et al., 2019). In line with predictions of a previous simulation (Kasten and Herrmann, 2019), our data demonstrate that it is insufficient to contrast uncorrected data: although the artifact is constant over time, a baseline correction in the form of a subtraction in the time–frequency space, could not reveal the ERD while the SSP method was able to recover these subtle changes in alpha amplitude.

An open-source MATLAB implementation of a general version of SSP–SIR has been recently added to the transcranial-magnetic-stimulation–EEG signal analyzer code repository (TESA) (Mutanen et al., 2020). The generalized version of SSP–SIR requires evoked control data, containing the artifact topographies to be projected out from the actual data of interest. To reproduce the approach taken here using the TESA functions, one should generate the control data and data of interest by averaging the original data across the tACS cycles and neuronally relevant epochs, respectively.

Technical Requirements for Removing the tACS-Artifact From EEG

A most important requirement during EEG recordings is that the amplifiers do not saturate due to the high amplitudes of the tACS-artifact. If that requirement is not met, no artifact correction is possible. The main feature in this regard is the dynamic range of the amplifier: With a 16-bit EEG amplifier, 216 = 65536 amplitude values can be digitized. If every amplitude step represents 0.1 μV, as in the phantom experiment, this results in an amplitude range of ±3276 μV. In that case, the amplitude of the artifact can easily exceed the dynamic range, especially at higher impedances. In our measurements on a human subject (using a 24-bit amplifier system), the upper limit of the 16 bit amplifier was already exceeded at 500 μA stimulator output (see Table 4).

While this was not a problem for the phantom, it is desirable to use EEG amplifiers with a wider dynamic range for human tACS + EEG experiments, e.g., 24-bit amplifiers, which would allow for an amplitude resolution of 0.05 μV and a dynamic range of ±419430 μV. We therefore used a 24-bit system for the human experiment.

A second factor that has to be taken into account to avoid amplifier saturation is bridging of the tACS electrodes with the recording electrodes. One common technique to reduce the impedance of the tACS electrodes to the scalp is the use of saline-soaked sponge pockets that enclose the tACS electrodes. This bears the danger of leaking saline solution that results in a connection of tACS and EEG electrodes and also of EEG electrodes with each other. To prevent this, we recommend using adhesive paste (e.g., Ten20, D.O. Weaver, Aurora, CO, United States), which does not leak and also prevents electrode movements.

Third, it is of great importance that EEG and tACS are synchronized. Different EEG-systems allow for digital synchronization of the recorder with a different system, e.g., using the BrainVision Syncbox (Brain Products, Munich, Germany). The tACS can by synchronized with the EEG recording by generating the tACS signal digitally and passing that signal through a digital-to-analog converter (DAQ) into the stimulator as we have done in the phantom experiment. Additionally, the stimulation frequency has to be chosen such that the template estimation can be successful: We used 10 Hz, which has a period duration (100 ms) which is an integer multiple of the period of the EEG sampling interval (i.e., 0.1 ms at 10 kHz sampling frequency). At 11 Hz, the cycle length is 90.90¯ ms. Thus at 11 Hz, the zero crossings of the artifact cycles do not coincide with one sample. When estimating a template of the tACS artifact based on one cycle, this leads to an unpredictable error in the template, which in turn leads to a failure of the artifact correction.

General

Overall, the results showed that at least in the simplified phantom setup, SSP succeeded well in recovering the underlying oscillatory neuronal activity. Furthermore, our results in human data demonstrate that the SSP method can attenuate the tACS artifact sufficiently to recover task related modulations of endogenous brain oscillations. This is supported by the observation that although the artifact covers brain activity in all EEG channels before correction, after SSP the task induced alpha power modulation is strongest in parietal channels, resembling the topography of the artifact free data. It should be noted, however, that this does not imply that all stimulation artifacts have been removed entirely from the human EEG recordings. Previous studies have shown, that a variety of physiological processes can give rise to non-linear modulations of the tACS artifact, which can hinder complete tACS artifact removal (Noury et al., 2016; Noury and Siegel, 2017). One kind of such additional artifacts are described by Noury et al. (2016) which appear in sidebands of ±2 Hz around the stimulation frequency. As a possible source Noury and Siegel (2017) identified non-linear modulations of electrode impedance caused by heartbeat and respiration. The SSP-method was not designed to deal with such artifacts resulting from non-linear sources. Future studies will need to evaluate to which degree these non-linearities affect tACS artifact cleaning performance of the SSP method. Nevertheless, our results already indicate that SSP might be a powerful alternative to template subtraction for the analysis of concurrent tACS+EEG data, as the latter suffers from overcorrection (Helfrich et al., 2014) and insufficiently accounts for non-linear modulations of the tACS artifact (Noury et al., 2016).

We have decided for a comparison between three principally different approaches of artifact correction in tACS + EEG data. This concentration was done for the sake of keeping the analysis simple and the interpretation straight-forward. It is of course possible to apply multiple algorithms in combination, or in succession. Helfrich et al. (2014), for example used a sine subtraction method in a first step and a PCA in a second step to correct for the artifact. Other studies have compared different sets of tACS-artifact correction algorithms. Guarnieri et al. (2020) for example have recently compared the approach from Helfrich et al. (2014) to a moving average approach and a time-varying spatial filter using a PCA. The latter method is particularly interesting because it was designed to be computationally efficient to be applied during measurements and thus is able to fulfill closed-loop stimulation settings. In another recent publication, Yan et al. (2020) set out to test three different advanced blind-source separation methods that were combined with an empirical wavelet transform (Gilles, 2013).

We believe that the idea of using realistic phantom heads to test the validity of tACS-artifact correction methods will become a standard technique. One study on a phantom head, comparable to our approach, compared a template subtraction method and adaptive filtering (Kohli and Casson, 2019) as artifact correction techniques. The authors found that both methods yield acceptable results for the recovery of event related potentials. Yet, this study is limited to just one electrode measured on the surface of the phantom and thus cannot evaluate the spatial pattern of the recovered signal in comparison to the original.

Furthermore, our method uses mainly visual inspection and root-means-square error as validation techniques for the tested algorithms. More sophisticated strategies definitely add to the discussion of how good an artifact correction method is. One convincing idea is to use linear discrimination analysis to differentiate between different parts of underlying EEG activity (Kohli and Casson, 2020). With this strategy, the authors were able to differentiate between resting state EEG with eyes open, and EEG from a working memory task after the respective EEG was cleaned from a tACS artificat resulting from 1 mA current.

As the main limitation of our study we want to state that stimulation intensity in the phantom experiment was lower than in regular human studies. Our exemplary human data give rise to the assumption that the method works in human experiments where realistic current intensities are applied. To fully validate the SSP-method it would, however, be desirable to test a realistic phantom also with realistic current strengths.

The SSP method should be further explored in future studies to find the best template the artifact subspace is estimated on. In the current study, the SSP operator was computed from the average template, which might contain entrained brain signals (Thut et al., 2011). As a consequence, this brain activity would also be removed. This issue could be overcome by estimating the artifact subspace based on different tACS conditions (e.g., two or more frequencies and amplitudes), thus minimizing the contribution of brain activity to the template and maximizing the contribution of the artifact.

Conclusion

Signal-space projection yielded by far the best performance in removing the tACS artifact at the stimulation frequency and recovering the brain activity in EEG recordings at that frequency in comparison to template and sine-wave subtraction. Even though the performance on the phantom cannot be unequivocally extended to human EEG measurements, SSP is a strong candidate for the correction of the tACS artifact in combined tACS + EEG studies.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation, to any qualified researcher.

Ethics Statement

The studies involving human participants were reviewed and approved by the ethics committee of the University of Oldenberg Kommission für Forschungsfolgenabschätzung und Ethik). The patients/participants provided their written informed consent to participate in this study.

Author Contributions

TN, TM, JV, RI, and CH designed the experiments. TN performed the phantom experiment, analyzed the data, and wrote the manuscript. TM built the phantom head, analyzed the data, and wrote the manuscript. JV performed the human experiments, analyzed the data, and wrote the manuscript. RI and CH wrote the manuscript. All authors contributed to the article and approved the submitted version.

Funding

This study was supported by the German Research Foundation (Deutsche Forschungsgemeinschaft, DFG) under Germany’s Excellence Strategy – EXC[cpsenter]2177/1 – Project ID 390895286, the Academy of Finland (Grant Nos. 283105 and 321631), and the Finnish Cultural Foundation (Grant Nos. 00140634, 00150064, and 00161149).

Conflict of Interest

CH has received honoraria as editor from Elsevier Publishers, and has filed a patent application for transcranial electric stimulation.

The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Supplementary Material

The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fnhum.2020.536070/full#supplementary-material

References

Allen, P. J., Josephs, O., and Turner, R. (2000). A method for removing imaging artifact from continuous EEG recorded during functional MRI. Neuroimage 12, 230–239. doi: 10.1006/nimg.2000.0599

PubMed Abstract | CrossRef Full Text | Google Scholar

Cecere, R., Rees, G., and Romei, V. (2015). Individual differences in alpha frequency drive crossmodal illusory perception. Curr. Biol. 25, 231–235. doi: 10.1016/j.cub.2014.11.034

PubMed Abstract | CrossRef Full Text | Google Scholar

Delorme, A., and Makeig, S. (2004). EEGLAB: an open source toolbox for analysis of single-trial EEG dynamics. J. Neurosci. Methods 134, 9–21. doi: 10.1016/j.jneumeth.2003.10.009

PubMed Abstract | CrossRef Full Text | Google Scholar

Dowsett, J., and Herrmann, C. S. (2016). Transcranial alternating current stimulation with sawtooth waves: simultaneous stimulation and EEG recording. Front. Hum. Neurosci. 10:135. doi: 10.3389/fnhum.2016.00135

PubMed Abstract | CrossRef Full Text | Google Scholar

Ganis, G., and Kievit, R. (2015). A new set of three-dimensional shapes for investigating mental rotation processes: validation data and stimulus set. J. Open Psycholol. Data 3:e3.

Google Scholar

Gilles, J. (2013). Empirical wavelet transform. IEEE Trans. Signal. Process. 61, 3999–4010.

Google Scholar

Gonçalves, S., De Munck, J. C., Verbunt, J., Bijma, F., Heethaar, R. M., and Lopes da Silva, F. (2003). In vivo measurement of the brain and skull resistivities using an EIT-based method and realistic models for the head. IEEE Trans. Biomed. Eng. 50, 754–767. doi: 10.1109/tbme.2003.812164

PubMed Abstract | CrossRef Full Text | Google Scholar

Guarnieri, R., Brancucci, A., D’Anselmo, A., Manippa, V., Swinnen, S. P., Tecchio, F., et al. (2020). A computationally efficient method for the attenuation of alternating current stimulation artifacts in electroencephalographic recordings. J. Neural Eng. 17:e046038.

Google Scholar

Helfrich, R. F., Schneider, T. R., Rach, S., Trautmann-Lengsfeld, S. A., Engel, A. K., and Herrmann, C. S. (2014). Entrainment of brain oscillations by transcranial alternating current stimulation. Curr. Biol. 24, 333–339. doi: 10.1016/j.cub.2013.12.041

PubMed Abstract | CrossRef Full Text | Google Scholar

Herring, J. D., Esterer, S., Marshall, T. R., Jensen, O., and Bergmann, T. O. (2019). Low-frequency alternating current stimulation rhythmically suppresses gamma-band oscillations and impairs perceptual performance. Neuroimage 184, 440–449. doi: 10.1016/j.neuroimage.2018.09.047

PubMed Abstract | CrossRef Full Text | Google Scholar

Herrmann, C. S., Rach, S., Neuling, T., and Strüber, D. (2013). Transcranial alternating current stimulation: a review of the underlying mechanisms and modulation of cognitive processes. Front. Hum. Neurosci. 7:279. doi: 10.3389/fnhum.2013.00279

PubMed Abstract | CrossRef Full Text | Google Scholar

Kasten, F. H., and Herrmann, C. S. (2017). Transcranial alternating current stimulation (tACS) enhances mental rotation performance during and after stimulation. Front. Hum. Neurosci. 11:2. doi: 10.3389/fnhum.2017.00002

PubMed Abstract | CrossRef Full Text | Google Scholar

Kasten, F. H., and Herrmann, C. S. (2019). Recovering brain dynamics during concurrent tACS-M/EEG: an overview of analysis approaches and their methodological and interpretational pitfalls. Brain Topogr. 32, 1013–1019. doi: 10.1007/s10548-019-00727-7

PubMed Abstract | CrossRef Full Text | Google Scholar

Kasten, F. H., Maess, B., and Herrmann, C. S. (2018). Facilitated event-related power-modulations during transcranial alternating current stimulation (tACS) revealed by concurrent tACS-MEG. Eneuro 5:ENEURO.0069-18.2018.

Google Scholar

Kim, D., Jeong, J., Jeong, S., Kim, S., Jun, S. C., and Chung, E. (2015). Validation of 743 computational studies for electrical brain stimulation with phantom head experiments. Brain Stimulat. 8, 914–925. doi: 10.1016/j.brs.2015.06.009

PubMed Abstract | CrossRef Full Text | Google Scholar

Klimesch, W. (1999). EEG alpha and theta oscillations reflect cognitive and memory performance: a review and analysis. Brain Res. Rev. 29, 169–195. doi: 10.1016/s0165-0173(98)00056-3

CrossRef Full Text | Google Scholar

Kohli, S., and Casson, A. J. (2019). Removal of gross artifacts of transcranial alternating current stimulation in simultaneous EEG monitoring. Sensors 19:190. doi: 10.3390/s19010190

PubMed Abstract | CrossRef Full Text | Google Scholar

Kohli, S., and Casson, A. J. (2020). Machine learning validation of EEG+tACS artefact removal. J. Neur. Eng. 17:e016034.

Google Scholar

Lachaux, J. P., Rodriguez, E., Martinerie, J., and Varela, F. J. (1999). Measuring phase synchrony in brain signals. Hum. Brain Map. 8, 194–208. doi: 10.1002/(sici)1097-0193(1999)8:4<194::aid-hbm4>3.0.co;2-c

CrossRef Full Text | Google Scholar

Lai, Y., Van Drongelen, W., Ding, L., Hecox, K. E., Towle, V. L., Frim, D. M., et al. (2005). Estimation of in vivo human brain-to-skull conductivity ratio from simultaneous extra-and intra-cranial electrical potential recordings. Clin. Neurophysiol. 116, 456–465. doi: 10.1016/j.clinph.2004.08.017

PubMed Abstract | CrossRef Full Text | Google Scholar

Mäki, H., and Ilmoniemi, R. J. (2011). Projecting out muscle artifacts from TMS-evoked EEG. Neuroimage 54, 2706–2710. doi: 10.1016/j.neuroimage.2010.11.041

PubMed Abstract | CrossRef Full Text | Google Scholar

Michel, C. M., Kaufman, L., and Williamson, S. J. (1994). Duration of EEG and MEG α suppression increases with angle in a mental rotation task. J. Cogn. Neurosci. 6, 139–150. doi: 10.1162/jocn.1994.6.2.139

PubMed Abstract | CrossRef Full Text | Google Scholar

Mitra, P., and Bokil, H. (2007). Observed brain dynamics. (Oxford: Oxford University Press), 200–202.

Google Scholar

Mutanen, T. P., Biabani, M., Sarvas, J., Ilmoniemi, R. J., and Rogasch, N. C. (2020). Source-based artifact-rejection techniques available in TESA, an open-source TMS-EEG toolbox. Brain Stimulat. 13, 1349–1351. doi: 10.1016/j.brs.2020.06.079

PubMed Abstract | CrossRef Full Text | Google Scholar

Mutanen, T. P., Kukkonen, M., Nieminen, J. O., Stenroos, M., Sarvas, J., and Ilmoniemi, R. J. (2016). Recovering TMS-evoked EEG responses masked by muscle artifacts. Neuroimage 139, 157–166. doi: 10.1016/j.neuroimage.2016.05.028

PubMed Abstract | CrossRef Full Text | Google Scholar

Neuling, T., Rach, S., Wagner, S., Wolters, C. H., and Herrmann, C. S. (2012). Good vibrations: oscillatory phase shapes perception. Neuroimage 63, 771–778. doi: 10.1016/j.neuroimage.2012.07.024

PubMed Abstract | CrossRef Full Text | Google Scholar

Neuling, T., Ruhnau, P., Fuscà, M., Demarchi, G., Herrmann, C. S., and Weisz, N. (2015). Friends, not foes: magnetoencephalography as a tool to uncover brain dynamics during transcranial alternating current stimulation. Neuroimage 118, 406–413. doi: 10.1016/j.neuroimage.2015.06.026

PubMed Abstract | CrossRef Full Text | Google Scholar

Neuling, T., Ruhnau, P., Weisz, N., Herrmann, C. S., and Demarchi, G. (2017). Faith and oscillations recovered: on analyzing EEG/MEG signals during tACS. Neuroimage 147, 960–963. doi: 10.1016/j.neuroimage.2016.11.022

PubMed Abstract | CrossRef Full Text | Google Scholar

Niazy, R. K., Beckmann, C. F., Iannetti, G. D., Brady, J. M., and Smith, S. M. (2005). Removal of fMRI environment artifacts from EEG data using optimal basis sets. Neuroimage 28, 720–737. doi: 10.1016/j.neuroimage.2005.06.067

PubMed Abstract | CrossRef Full Text | Google Scholar

Noury, N., Hipp, J. F., and Siegel, M. (2016). Physiological processes non-linearly affect electrophysiological recordings during transcranial electric stimulation. Neuroimage 140, 99–109. doi: 10.1016/j.neuroimage.2016.03.065

PubMed Abstract | CrossRef Full Text | Google Scholar

Noury, N., and Siegel, M. (2017). Phase properties of transcranial electrical stimulation artifacts in electrophysiological recordings. Neuroimage 158, 406–416. doi: 10.1016/j.neuroimage.2017.07.010

PubMed Abstract | CrossRef Full Text | Google Scholar

Noury, N., and Siegel, M. (2018). Analyzing EEG and MEG signals recorded during tES, a reply. Neuroimage 167, 53–61. doi: 10.1016/j.neuroimage.2017.11.023

PubMed Abstract | CrossRef Full Text | Google Scholar

Opitz, A., Falchier, A., Yan, C. G., Yeagle, E. M., Linn, G. S., Megevand, P., et al. (2016). Spatiotemporal structure of intracranial electric fields induced by transcranial electric stimulation in humans and nonhuman primates. Sci. Rep. 6, 1–11. doi: 10.1109/tmag.2014.2326819

CrossRef Full Text | Google Scholar

Owda, A. Y., and Casson, A. J. (2020). Electrical properties, accuracy, and multi-day performance of gelatine phantoms for electrophysiology. bioRxiv [Preprint], doi: 10.1101/2020.05.30.125070v1

CrossRef Full Text | Google Scholar

Pfurtscheller, G., and Lopes da Silva, F. H. (1999). Event-related EEG/MEG synchronization and desynchronization: basic principles. Clin. Neurophysiol. 110, 1842–1857. doi: 10.1016/s1388-2457(99)00141-8

CrossRef Full Text | Google Scholar

Polanía, R., Nitsche, M. A., Korman, C., Batsikadze, G., and Paulus, W. (2012). The importance of timing in segregated theta phase-coupling for cognitive performance. Curr. Biol. 22, 1314–1318. doi: 10.1016/j.cub.2012.05.021

PubMed Abstract | CrossRef Full Text | Google Scholar

Shepard, R. N., and Metzler, J. (1971). Mental rotation of three-dimensional objects. Science 171, 701–703. doi: 10.1126/science.171.3972.701

PubMed Abstract | CrossRef Full Text | Google Scholar

Thut, G., Schyns, P. G., and Gross, J. (2011). Entrainment of perceptually relevant brain oscillations by non-invasive rhythmic stimulation of the human brain. Front. Psychol. 2:170. doi: 10.3389/fnhum.2013.00170

PubMed Abstract | CrossRef Full Text | Google Scholar

Uusitalo, M. A., and Ilmoniemi, R. J. (1997). Signal-space projection method for separating MEG or EEG into components. Med. Biol. Eng. Comput. 35, 135–140. doi: 10.1007/bf02534144

PubMed Abstract | CrossRef Full Text | Google Scholar

Van Veen, B. D., van Drongelen, W., Yuchtman, M., and Suzuki, A. (1997). Localization of brain electrical activity via linearly constrained minimum variance spatial filtering. IEEE Trans. Biomed. Eng. 44, 867–880. doi: 10.1109/10.623056

CrossRef Full Text | Google Scholar

Voss, U., Holzmann, R., Hobson, A., Paulus, W., Koppehele-Gossel, J., Klimke, A., et al. (2014). Induction of self awareness in dreams through frontal low current stimulation of gamma activity. Nat. Neurosci. 17, 810–812. doi: 10.1038/nn.3719

PubMed Abstract | CrossRef Full Text | Google Scholar

Vossen, A., Gross, J., and Thut, G. (2015). Alpha power increase after transcranial alternating current stimulation at alpha frequency (α-tACS) reflects plastic changes rather than entrainment. Brain Stimulat. 8, 499–508. doi: 10.1016/j.brs.2014.12.004

PubMed Abstract | CrossRef Full Text | Google Scholar

Vosskuhl, J., Huster, R. J., and Herrmann, C. S. (2016). BOLD signal effects of transcranial alternating current stimulation (tACS) in the alpha range: a concurrent tACS-fMRI study. Neuroimage 140, 118–125. doi: 10.1016/j.neuroimage.2015.10.003

PubMed Abstract | CrossRef Full Text | Google Scholar

Yan, X., Boudrias, M., and Mitsis, G. D. (2020). “Artifact removal in tACS-EEG recordings: a combined methodology based on the empirical wavelet transform,” in Proceedings of the 42nd Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC) Montreal, QC.

Google Scholar

Yu, A. B., and Hairston, W. D. (2019). Open EEG Phantom. Available online at: https://doi.org/10.17605/OSF.IO/QRKA2 (accessed November 23, 2020).

Google Scholar

Zaehle, T., Rach, S., and Herrmann, C. S. (2010). Transcranial alternating current stimulation enhances individual alpha activity in human EEG. PLoS One 5:e13766. doi: 10.1371/journal.pone.0013766

PubMed Abstract | CrossRef Full Text | Google Scholar

Zebrowska, M., Dzwiniel, P., and Waleszczyk, W. J. (2020). Removal of the sinusoidal transorbital lternating current stimulation artifact from simultaneous eeg recordings: effects of simple moving average parameters. Front. Neurosci. 14:735. doi: 10.3389/fnins.2020.00735

PubMed Abstract | CrossRef Full Text | Google Scholar

Keywords: EEG, artifact, phantom head, signal-space projection, tACS (transcranial alternating current stimulation)

Citation: Vosskuhl J, Mutanen TP, Neuling T, Ilmoniemi RJ and Herrmann CS (2020) Signal-Space Projection Suppresses the tACS Artifact in EEG Recordings. Front. Hum. Neurosci. 14:536070. doi: 10.3389/fnhum.2020.536070

Received: 18 February 2020; Accepted: 09 November 2020;
Published: 18 December 2020.

Edited by:

Nivethida Thirugnanasambandam, National Brain Research Centre (NBRC), India

Reviewed by:

Philipp Ruhnau, University Hospital Magdeburg, Germany
Ivan Alekseichuk, University of Minnesota Twin Cities, United States
Alexander James Casson, The University of Manchester, United Kingdom

Copyright © 2020 Vosskuhl, Mutanen, Neuling, Ilmoniemi and Herrmann. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Christoph S. Herrmann, Y2hyaXN0b3BoLmhlcnJtYW5uQHVuaS1vbGRlbmJ1cmcuZGU=

These authors have contributed equally to this work

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.