Skip to main content

Thank you for visiting You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Dataset of concurrent EEG, ECG, and behavior with multiple doses of transcranial electrical stimulation


We present a dataset combining human-participant high-density electroencephalography (EEG) with physiological and continuous behavioral metrics during transcranial electrical stimulation (tES). Data include within participant application of nine High-Definition tES (HD-tES) types, targeting three cortical regions (frontal, motor, parietal) with three stimulation waveforms (DC, 5 Hz, 30 Hz); more than 783 total stimulation trials over 62 sessions with EEG, physiological (ECG, EOG), and continuous behavioral vigilance/alertness metrics. Experiment 1 and 2 consisted of participants performing a continuous vigilance/alertness task over three 70-minute and two 70.5-minute sessions, respectively. Demographic data were collected, as well as self-reported wellness questionnaires before and after each session. Participants received all 9 stimulation types in Experiment 1, with each session including three stimulation types, with 4 trials per type. Participants received two stimulation types in Experiment 2, with 20 trials of a given stimulation type per session. Within-participant reliability was tested by repeating select sessions. This unique dataset supports a range of hypothesis testing including interactions of tDCS/tACS location and frequency, brain-state, physiology, fatigue, and cognitive performance.

Measurement(s) brain measurement • physiological measurement • behavioral measurement • Heart Rate • Attention Concentration • Pittsburgh Sleep Quality Index • Hours of Actual Sleep at Night • Sleepiness • Decreased vigilance • Mood • Pain or Discomfort Today • Anxiety • Overall Energy Level • Continuous vigilance and attention
Technology Type(s) electroencephalography • electrocardiography • Behavioral, Psychological or Informational Intervention • Pittsburgh Sleep Quality Index • Numeric Rating Scale • Karolinska Sleepiness Scale • Numeric Pain Scale • Compensatory Tracking Task
Factor Type(s) cortical region • stimulation waveform • sex • age • stimulation location • weight • height
Sample Characteristic - Organism Homo sapiens

Machine-accessible metadata file describing the reported data:

Background & Summary

Transcranial electrical stimulation (tES), including its variants: transcranial Direct Current Stimulation (tDCS) and transcranial Alternating Current Stimulation (tACS), allows for testing of causal relationship between brain function and cognition1,2,3. In recent years, hundreds of tES trials have broadly impacted fields of cognitive neuroscience and behavioral performance4,5, alongside intensive testing as clinical treatments6,7,8. tES efficacy is rationalized to depend on waveform (AC frequency or DC) and targeted brain region. The use of High-Definition tES (HD-tES) allows for localized targeting of cortical regions9, which can be combined with variations in stimulation waveform10,11,12.

The combination of tES with brain imaging techniques13,14,15,16,17, notably EEG, allows for verification of neural target engagement7,8,18, optimization of interventions10,19, and powerful analysis of brain structure and functional relationships3. Analysis of online tES-EEG experiments are not without technical challenges20,21,22,23.

In the field of brain stimulation or neuromodulation, the development of open-source tools for modeling pipelines24,25,26,27,28 and signal processing29 have far surpassed the availability of data. With rare exceptions30,31,32, available brain stimulation datasets are centered on validating current flow33,34, providing anatomical templates35,36, or are derived from animal models37. The lack of raw data sharing and availability in the neuromodulation field can lead to decreased transparency when it comes to examining tES-EEG relationships, verifying analyses or analysis-dependent38 relationships in tES-EEG outcomes, as well as a decrease in the democratization of algorithmic development, especially when it comes to enhancing algorithms geared toward closed-loop tES.

The effects of tES on attention and vigilance17,39,40,41 have been extensively studied, and are of universal interest with regard to tES, since they impact applications such as accelerated learning42, neurorehabilitation6,43 and neuro-psychiatric treatment44,45,46. An openly available dataset with continuous metrics of vigilance/attention, over an extended period of time, paired with concurrent EEG and physiologic metrics, during varied types of tES would present as a significant contribution to the field of neuromodulation.

To test how vigilant/attentional states are acutely altered by specific tES types, over an extended period (~70 mins) of behavioral task performance, and how temporal sensitivity to stimulation is modulated by or reflected in brain/physiological state: our multimodal dataset combines human-participant, concurrent multichannel tES; multichannel EEG (sampled at 2 kHz), bipolar ECG and EOG monitoring; and continuous (in time and score) vigilance/alertness behavioral metrics. We apply 9 different electrical stimulation montages (3 stimulation locations and 3 frequencies), with each stimulation type applied 4-20 times per experimental session, in a repeated-measures crossover design – with additional repetitions for within-participant reliability. A verified47,48,49,50,51,52,53 compensatory tracking task (CTT) allowed for the assessment of vigilance/attention on the scale of milliseconds, facilitating its acquisition concurrency with dynamic EEG, ECG, and EOG. These multimodal assessments allow for the testing of 1) how variations in brain state (e.g. baseline vigilance) or physiology impact sensitivity to tES; and 2) how tES changes brain state or physiology (e.g. autonomic function as indicated by heart rate variability) along with changes in performance.

Our approach varies from typical tES interventions in applying stimulation since we utilize short stimulation (30 sec) epochs, in contrast to tens of minutes. Although it has been observed that tens of minutes of stimulation enhances the detection of stimulation related after-effects54,55,56,57 such effects come on the heels of and are resultant from an accumulation of online (immediate) effects58,59,60,61, which are currently challenging to directly observe. Modulatory EEG effects are typically rapid, on the order of milliseconds10,18,20,23,62, as are cellular responses in animal models63,64,65,66,67. Similarly, ongoing changes in brain state, physiology, and performance (e.g. fatigue/vigilance shift) can be rapid68,69,70,71,72 too. Closed-loop stimulation approaches require the use of transient biomarkers. Ultimately, our selection of short stimulation epochs was driven by: 1) the aforementioned mechanistic factors; 2) the value of increasing statistical power (repetitions) and signal to noise ratio (e.g. minimizing drift over time); as well as supporting algorithm development for 3) data cleaning (e.g. online EEG artifact correction21,22) and 4) closed-loop (e.g. machine learning) optimization - noting any sufficiently large open-loop experiments can be analyzed as closed-loop73,74,75 interventions. The complete dataset and assessments are provided without restriction under the Creative Commons with Attribution 4.0 license and is detailed in this manuscript. We hope the availability of this dataset will alleviate barriers in the field of tES and allow for the exploration and testing of multiple hypotheses associated with the design of optimized stimulation interventions.



A total of twenty neurologically typical individuals (7 females, 13 males) between the ages of 19 − 43 (median age: 30; mean age: 29.10 ± 6.75) were recruited from the New York metropolitan area. Before enrolment, participants underwent a tES eligibility screening procedure where they were asked questions regarding their medical history, psychiatric history, and prior drug use (non/illicit) including history of seizures, depression, surgeries, pain, ear trauma, heart conditions, skin allergies, implantable medical devices (non/metallic), alcohol dependency, brain lesions, loss of consciousness, sleep disorders, and fainting at the sight of blood. Participants who met the eligibility criteria were then enrolled (see Fig. 1a,b). After passing the eligibility screening, informed consent was obtained for each participant. Experimental procedures were reviewed and approved by the Western Institutional Review Board and all procedures were conducted in accordance with the ethical guidelines set forth by the Declaration of Helsinki in 1964 and its later amendments. All participants were financially compensated for their participation.

Fig. 1
figure 1

Demographic and questionnaire summary. (a) Included participants’ ages ranged from 19-43 years old with a mean age of 28.79 years. (b) Included participants’ mean height and weight were 169.50 cm and 69.11 kg, respectively. (c) The mean sleep hours and sleep quality ratings were 6.45 hrs and 6.57 (5-Normal Quality), respectively. (d) The mean sleepiness ratings (KSS) before (KSS Pre) and after (KSS Post) each session was 4.01 and 5.70, respectively. (e) The mean mood ratings before (Mood Pre) and after (Mood Post) each session was 5.50 and 5.70 (5-Usual self), respectively. (f) The mean anxiety ratings before (Anxiety Pre) and after (Anxiety Post) each session were 3.77 and 3.45 (5-Usual self), respectively. (g) The mean energy ratings before (Energy Pre) and after (Energy Post) each session were 3.77 and 3.45 (5-Usual self), respectively. (h) The mean pain ratings before (Pain Pre) and after (Pain Post) each session was 0.18 and 0.39 (0-No pain, 10-Worst possible pain), respectively. For panels (c–h) data are illustrated for the aggregate of all sessions (including participants’ repeated sessions) and for (b–h) gray lines extending from each group mean indicate one standard deviation.

Prior to each experimental session participants were asked to maintain their normal sleep-wake cycle, refrain from consuming alcohol or overly caffeinated foods/ beverages at least 4 h before their session, and refrain from eating any heavy meals at least 3 h before their visit. In order to facilitate expeditious EEG set-up, participants were also asked to refrain from wearing any heavy make-up or facial moisturizer, and refrain from wearing any hair products or scalp treatments76.

One participant was excluded from the experiments (participant 17) due to inability to follow instructions in performing the experiment’s behavioral task (see Table 1). Four participants (participant number: 12, 15, 21, 22) were invited back to repeat both their experimental sessions for Experiment 2 (see Experimental Overview). Upon returning to repeat Experiment 2, returning participants were assigned a new participant number based on the incremental sequence of participant number assignment (i.e. 1st participant enrolled assigned to participant number 01, 2nd participant enrolled assigned to participant number 02, etc.). Participant 12 returned once and was assigned an updated participant number: 19; participant 15 returned once and was assigned an updated participant number: 18; participant 21 returned twice and was assigned updated participant numbers: 25 and 26; and participant 22 returned twice and was assigned updated participant numbers: 23 and 24 (see Table 2).

Table 1 Summary of all participant sessions for Experiment 1 including stimulation condition and stimulation intensity.
Table 2 Summary of all participant sessions for Experiment 2 including stimulation condition and stimulation intensity.


Upon enrollment participants completed a demographic questionnaire to assess their age, gender, height, weight, years of education, handedness, English proficiency, typical exercise time each week, history of electrical stimulation, and sleep quality (quantified with the Pittsburgh Sleep Quality Index; PSQI77). These questionnaires were only administered once upon participant’s enrollment on their initial session (hence empty cells in GX_Subject Info & Behavioral Data.xlsx for participants who repeated Experiment 2; see Demographics, PSQI, and Pre Post Questionnaires).

At the beginning of each session participants completed a prequestionnaire consisting of questions regarding their activities in the past 24 h (see GX_Demo_PreQuest_Scales.pdf, page 2), in addition, they also completed assessment scales immediately before and after each session (Fig. 1c–h). These scales included assessments of sleepiness (Karolinska Sleepiness Scale; a 9-point scale ranging from 1-Extremely alert to 9-Very sleepy, great effort to keep awake, fighting sleep), discomfort scale (ranging from 1-No discomfort to 9-Extreme discomfort), pain (numeric pain scale; ranging from 0-No pain to 10-Worst possible pain), mood (ranging 1-Saddest to 9-Happiest), anxiety (ranging 1-Most relaxed to 9-Most tense), and energy level (ranging 1-Most tired to 9-Most energetic). Wellness scales were modeled after the standardized English version of the Karolinka Sleepiness Scale (KSS)78,79,80, which range from 1 to 9; and the pain scale utilized was modeled after standard Numeric Rating Scales (NRS) or Numeric Pain Scales (NPS) that conventionally range from 0 to 1081,82.

Behavioral task

Participants were seated in a dimly lit (~10 lux) room and some were offered foam in-ear ear plugs to aid in sound attenuation. Participants were seated ~57 cm in front of a 17-inch LCD monitor (Model: E173FPb; Dell Corp., Texas, USA; set at a 60 Hz refresh rate) and were asked to continuously perform a Compensatory Tracking Task (CTT) over the course of each session. On-screen task instructions presented to participants stated: Your goal in this task is to keep the ball near the target using your mouse or pointing device. The ball moves on its own, but is impacted by how you move the mouse. If possible, keep the ball in the center of the ring, or as close as possible to the inner circle as you can. The goal of the 2-dimensional task was to keep a moving circle constantly constrained near an annulus at the center of the screen (Fig. 2a). The circle was endowed with several kinematic properties including oscillatory and dampening forces47. The CTT was sourced and administered through the open source PEBL software version 2.1, an experimental psychology task program built upon C++83. Participants provided task input through their dominant hand via a trackball (Logitech TrackMan Marble Mouse; Model: 904360-0403; Logitech International S.A., Lausanne, Switzerland) and were left uninterrupted throughout the duration of the task (even in cases where participants were in visible hypnagogic states; consistent with prior CTT designs). Before the start of each session participants performed a short practice session that lasted between 1-3 mins. The duration of the task was set to 70 mins for both Experiment 1 and 2 (extended for an additional 0.5 mins). The CTT ran continuously and uninterrupted over the duration of both experiments and participants were blinded to each experiment’s block design and stimulation type.

Fig. 2
figure 2

Behavioral task, EEG and stimulation montage, hardware setup, and experimental overview. (a) The CTT behavioral task where the objective was to maintain the moving circle (~10 pixels) near the center of the middle annulus (~20 pixels) over the course of the experiment (70 mins). The ball was endowed with inherent motion, and oscillatory and dampening forces. Note, only the white ball and gray annulus were visible to participants, in the panel additional rings and distances are for illustrative purposes. (b) EEG locations (light blue) interleaved with stimulation sites for frontal (orange), motor (purple), and parietal (magenta) stimulation. For each stimulation montage, center electrodes are indicted by a star and surrounding electrodes by circles. Note, by design some electrode locations may serve as a center electrode for one montage and outer electrodes for another montage. (c) MRI-derived 3D head model with the stimulation locations placed on the scalp to visualize electrode placement. (d) Data acquisition and stimulation hardware setup in relation to participants’ input and output. (e) Experiment 1 and (g) Experiment 2 block design as programed to be executed within the hardware and software setup in panel (d). Experiments were divided into stimulation off blocks (Stim Off) without tES and stimulation enabled blocks (Stim Enabled) within which the selected tES stimulation condition was applied 4 times. (f) Experiment 1 and (h) Experiment 2 detailed block design with corresponding EEG triggers (dashed vertical line) and trigger codes. Note that the block design is not drawn to scale. Simultaneous EEG and Physio (EEG, ECG, and EOG; teal); and Behavior (CTT, red) were acquired with concurrent Stimulation (gold). Note, EEG and Physio acquisition started several seconds before any trigger delivery; and (e,f) are designed to illustrate the experimental design as programmed to be executed.

EEG data acquisition

EEG data were acquired using a wired Waveguard cap containing 32 Ag/AgCl recording channels (ANT Neuro, Hengelo, The Netherlands) and 29 interleaved plastic HD-holders (Soterix Medical Inc., New York, USA). The HD-holders were used to house the stimulation materials including conductive gel and stimulation electrodes (see HD-tES). For both stimulation and recording, conductive gel (SignaGel, Parker Laboratories Inc., New Jersey, USA) was placed between electrodes and the scalp using blunt tip (15-gauge; Cortech Solutions Inc., North Carolina, USA) syringes.

EEG recording electrodes were located at standard locations following the 10/10 international placement system (Fig. 2b). Signals were sampled at 2 kHz, referenced relative to CPz, online grounded at AFz, and amplified with an eego sport amplifier (ANT Neuro, Hengelo, The Netherlands). The amplifier bandwidth was set between 0-520 Hz and the acquisition voltages range was set to 1 V peak-to-peak. Prior to each recording, scalp impedances were monitored to ensure impedance levels were below 20 kΩ. To time-lock the CTT with the concurrent EEG a trigger was sent to the EEG amplifier at the start of the CTT (see Data Records). Following data acquisition, data were exported to a .cnt file.

Physiological monitoring

Cardiac activity was acquired with a lead I electrocardiogram (ECG) configuration and ocular motor activity with horizontal electrooculogram (EOG) configuration. Both were acquired with bipolar snap electrodes, concurrently with EEG and HD-tES. For lead I ECG, bipolar snap electrodes were placed on participants’ chest approximately 5 cm below the center of their left (anode) and right (cathode) clavicle bone. A ground electrode was placed on participants’ left hip, in close proximity to participants’ iliac crest. For horizontal EOG, electrodes were placed at the outer canthus of the participants’ left (anode) and right (cathode) eye. Prior to all peripheral electrode placement, the application sites on the skin were gently swabbed with alcohol pads (BD Alcohol Swabs, Becton Dickinson, New Jersey, USA) to increase electrode adhesion and contact quality.


HD-tES was applied for 30-sec epochs per trial with an additional 5-sec ramp-up/down period, at 3 different cephalic locations with 3 different stimulation waveforms. The 9 stimulation doses (combination of stimulation location: 3; frequency: 3; duration: 1) were characterized by the cephalic area of stimulation: frontal, motor, and parietal; as well as the frequency of the stimulation current applied: 0 (DC), 5, and 30 Hz. Each combination of stimulation location and frequency was denoted with the first letter of the stimulation location in combination with the Arabic numeral denoting the frequency. As such, the nine possible dose combinations were as follows: frontal DC (F0), frontal 5 Hz (F5), frontal 30 Hz (F30), motor DC (M0), motor 5 Hz (M5), motor 30 Hz (M30), parietal DC (P0), parietal 5 Hz (P5), parietal 30 Hz (P30).

A total of 9 Ag/AgCl sintered ring stimulation electrodes (Soterix Medical Inc., New York, USA) were placed at standard EEG 10/10 locations in manner forming three possible Nx1 HD-tES84; where N = 3, 4, 4 for frontal, motor, and parietal, respectively. For each montage, N electrodes were selected for the outer (surround) ring electrode, and one electrode was selected as the center electrode. Note, some electrode locations were shared across montages with varied “ring” or “center” assignments. In this way, a single 9 electrode position HD-tES set-up was prepared for all experiments. For frontal stimulation, outer or surround electrodes (N = 3) were placed at AF3, FT7, FC3 and the return or center electrode was placed at F5 (Fig. 2b,c). For motor stimulation outer or surround electrodes (N = 4) were placed at FT7, FC3, CP3, TP7, and the return or center electrode was placed at C5 (Fig. 2b,c). For parietal stimulation outer or surround electrodes (N = 4) were placed at C5, C1, P1, TP7 and the return or center electrode was placed at CP3 (Fig. 2b,c). To visualize stimulation electrode placement in realistic 3D space, an MRI-derived head model was used together with the ROAST toolbox27,85 in MATLAB (2018b and 2019b; MathWorks, Massachusetts, USA). Each montage shared stimulation sites and no two stimulation montages were applied at the same time.

In terms of stimulation waveforms, a monophasic DC (0 Hz) or biphasic sinusoidal waveform (5 or 30 Hz) was applied. For DC, for each cephalic location (frontal, motor, parietal) the respective center electrode was used as the cathode with the surround electrodes as anodes. For biphasic sinusoidal stimulation all electrodes switched between being an anode and cathode at a rate set by the frequency of stimulation (i.e. 5 Hz or 30 Hz).

Using conventional procedures86, stimulation electrodes were placed in plastic HD-holders (Soterix Medical Inc., New York, USA), which were embedded in the EEG cap (interleaved with EEG electrode positions). To prepare for electrode placement, participants’ hair was parted with a blunt Q-tip or blunt tip syringe at each stimulation location through the annulus of the plastic HD-holders, then the HD-holders were slowly backfilled with ~15 mL of HD gel (Soterix Medical Inc., New York, USA). The stimulation electrodes were then placed in the HD-holders and were fully submerged in electrolyte gel, then the plastic holder was covered with the associated plastic covering to secure the electrode in place.

Stimulation was delivered using the MxN 9-channel high-definition transcranial electrical stimulation stimulator (Soterix Medical Inc., New York, USA). The multichannel stimulation device supplied a current controlled current source where the current amplitude of each individual stimulation channel could be adjusted. Stimulation channel impedances were measured relative to F5, prior to the commencement of stimulation. During each session, the stimulator was triggered using a pulse generated in MATLAB and relayed to a National Instruments (NI) -DAQmx device (National Instruments Inc., Texas, USA). A corresponding trigger was sent to the EEG amplifier to time-lock stimulation and EEG (Fig. 2d). For details on stimulation settings for each stimulation dose see Table 3.

Table 3 Stimulation device (MxN) settings used for each stimulation dose.

Prior to the start of each session participants underwent a pre stimulation test to determine their tolerance and comfort with each stimulation montage. Stimulation was delivered for approximately 20 secs (5-sec ramp-up/down) at an initial net current of 1 mA (peak-to-peak) and 0.5 mA (peak-to-peak) for Experiment 1 and 2, respectively. Participants were then asked to rate the level of pain/discomfort on a numeric pain scale (0-No pain/discomfort to 10-Worst pain you’ve ever felt). For Experiment 1, if participants rated a 5 or above, the stimulation intensity was halved (0.5 mA minimum amplitude); whereas for Experiment 2 if participants rated below 5, the stimulation intensity was increased to 1 mA. In both experiments the adjusted stimulation intensity was 0.5 mA at minimum and was retested to ensure that it was well tolerated. All participants in Experiment 2 received 1 mA of stimulation (see Table 2) whereas stimulation intensities for Experiment 1 were either 0.5 or 1 mA, based on pre stimulation testing (see Table 1).

Experimental overview

In Experiment 1, each participant engaged in three 70-min sessions whereas in Experiment 2 participants engaged in two 70.5-min sessions. Prior to and after each session (for both Experiment 1 and 2), participants completed a series of pre- and post-questionnaires (see GX_Demo_PreQuest_Scales.pdf). For each session participants performed the CTT continuously over the course of 70 mins (or 70.5 mins) while EEG and physiology (ECG, EOG) were recorded. For Experiment 1, nine different stimulation conditions were used (F0, F5, F30, M0, M5, M30, P0, P5, P30), whereas for Experiment 2, two different stimulation conditions were used (F30, M30).

For Experiment 1, each session (of the 3 sessions per participant) consisted of three stimulation enabled blocks (10 mins each) interleaved with four stimulation off blocks (10 mins each). For each session, three of the nine total stimulation conditions were pseudo-randomly assigned to stimulation enabled blocks - to ensure participants received each of the nine stimulation conditions across the nine total stimulation enabled blocks in Experiment 1. During each stimulation enabled block the assigned stimulation condition was administered as 4 consecutive stimulation trials (see Fig. 2e,f). Each stimulation trial consisted of a 5-sec ramp-up period, 30-sec stimulation period, and a 5-sec ramp down period.

For Experiment 2, each of the two sessions (one session for F30 and one session for M30) consisted of one stimulation off blocks (20 mins), which was followed by five consecutive stimulation enabled blocks (10 mins each; Fig. 2g,h). For each session, only one of the two stimulation conditions (F30 or M30) were pseudo-randomly assigned to be administered during the five stimulation enabled blocks. The assigned stimulation condition was administered as 4 consecutive trials during each stimulation enabled blocks. Thus, a total of 20 trials of stimulation (30 secs each plus 5-sec ramp up and down) were delivered for each session in Experiment 2.

A precise experimental sequence with EEG (channel Cz), behavioral timeseries, and associated triggers are illustrated for Experiment 1 and Experiment 2 (Fig. 3) for exemplary participants 10 and 24, respectively. This demonstrates participant-wise implementation of the block design in Fig. 2e–h from the data collection perspective. In all experiments, participants continuously performed a task, with associated performance, EEG, and physiology recorded.

Fig. 3
figure 3

Block implementation with timeseries of a complete experimental series for exemplary participants. (a) Session design for Experiment 1. Each session consisted of four 10-min Stim Off periods interleaved with three 10-min Stim Enabled periods A given stimulation condition was assigned to each Stim Enabled period, and applied in 4 consecutive 30 sec trials (Stim Trial # 1, 2, 3, 4). Experimental implementation, including EEG (Cz electrode) and CTT timeseries, for participant 10’s (b) first, (c) second, and (d) third sessions of Experiment 1. (e) Session design for Experiment 2. EEG and CTT timeseries for participant 24’s (f) first and (g) second session implementation. One stimulation condition (either M30 or F30; cartoon insets) was repeatedly applied during each session. In each session of Experiment 2, an initial 20-min Stim Off period, was followed by 50-min Stim Enabled period which included 20 trials of stimulation. Timeseries triggers in EEG data (vertical dashed lines) are marked with trigger codes. Across all sessions, for both experiments, EEG (teal) and CTT performance (pink), as well as physiology (not illustrated), were acquired continuously.

At their first session of Experiment 1 (Fig. 3b), participant 10 was pseudo-randomly assigned to receive stimulation conditions M0, P0, and M5 (indicated by insets). Each stimulation condition was repeated over 4 consecutive trials in a block (Stim Enabled); for each trial current was ramped up (over 5 secs), sustained for 30 secs at a maximum designated current intensity (0.5 or 1 mA; Max Stim Current), then ramped back down. Session 2 of Experiment 1, for participant 10, continued similarly with F0, P30, and F30 stimulation applied during the stimulation enabled blocks (Fig. 3c). Session 3 of Experiment 1, for participant 10, also continued similarly with F5, M30, and P5 stimulation applied during the stimulation enabled blocks (Fig. 3d).

In session 1 of Experiment 2 (Fig. 3f), participant 24 received the M30 stimulation condition (indicated by insets). The M30 stimulation condition was repeated over 20 consecutive trials divided across five consecutive stimulation enabled blocks (Stim Enabled); for each trial current was ramped up (over 5 secs), sustained for 30 secs at a maximum designated current intensity (0.5 or 1 mA; Max Stim Current), then ramped back down. Session 2 of Experiment 2, for participant 24, continued similarly with the F30 stimulation condition applied during the stimulation enabled blocks (Fig. 3g).

The band-pass filtering applied in Fig. 3 for display purposes, produces large voltage artifacts in the EEG during ramp-up and ramp-down, as well as removing DC voltage artifacts, which is present in unfiltered EEG-stimulation data21.

Data Records

All raw data described in the text87 can be accessed directly at: The main data repository contains raw data for Experiment 1 and 2, in.cnt format (see EEG and Behavioral Data)87; in addition, down sampled data for Experiment 1 and 2 are indexed in linked repositories88,89 in.mat format, which is compatible with MATLAB and Python. The dataset is also provided according to the Brain Imaging Data Structure (BIDS)90 specifications and can be accessed directly at: Trial-wise plots of data are fully indexed for EEG PSDs91:, spectrograms92:, and topoplots93:

All experimental sessions and applied stimulation conditions are summarized in Table 1 and Table 2 for Experiment 1 and Experiment 2, respectively (see also the Sessions Summay.xlsx file in the main data repository). The Sessions Summay.xlsx file contains the participant numbers (Sub#), participant session label, participants’ session number, stimulation conditions used for each session (Arms), date of the session (in month/date/year), and associated file number for each session (File Num). The Sessions Summay.xlsx file also breaks down which condition out of 9 (F0, M0, P0, F5, M5, P5, F30, M30, P30) were applied for each session, which block the stimulation type was applied in (Stim Block 1, Stim Block 2, Stim Block 3), as well as the stimulation amplitude (in mA) used for each session and each block (Stim Amp Block1, Stim Amp Block 2, Stim Amp Block 3). For Experiment 2 the montage and stimulation intensity were used across all respective stimulation blocks (Listed under Stim Block 1 and Stim Amp Block1).

Demographics, PSQI, and Pre Post questionnaires

The GX_Subject Info & Behavioral Data.xlsx file contains paginated and tabulated participant-reported information on demographics (Demographic), PSQI responses (PSQI), and pre- and post-session questionnaires (All Behavioral). Data were digitized and hand-imputed from paper records and repeated participants were indicated by notes made on each participant number and color-coding indicated repeated participants with their updated participant numbers.

Within the Demographic page of the GX_Subject Info & Behavioral Data.xlsx file the columns indicated each participants’ (rows) participant number (Sub#), date of data collection (month/date/year), age (in years), gender (Male or Female), height (in cm), weight (in kg), ethnicity, race, years of education, handedness (left or right handed), whether English was their first language, their proficiency in English, whether they exercise or not, how many hours they exercise, if they’ve ever had electrical stimulation before, and how recently have they had electrical stimulation.

Within the PSQI page of the GX_Subject Info & Behavioral Data.xlsx file the data were arranged by participant (rows) and PSQI questions (columns). Each column other than participant number (Subj#) and date, are labeled according to their correspondence to each PSQI question. For example, PSQI-5-a corresponds to PSQI question number 5, part a, asking: During the past month, how often have you had trouble sleeping because you cannot get to sleep within 30 minutes? Notes were made when participants indicated responses that were outside the scope of the questionnaire or if decisions were made to average or quantize participants’ responses, when appropriate. The full list of PSQI questions as well as scoring the PSQI can be found here94.

Within the All Behavioral page of the GX_Subject Info & Behavioral Data.xlsx file data were arranged according to participant number (Sub#), session label, session number, file number (File Num), a count of all records, date of data collection, presumed start and end times of each session, stimulation amplitude used for each session and each montage (one number indicates that a single stimulation amplitude was applied for all stimulation montages within a session), session type/montage order (Arms), responses to all questions in the Pre-Questionnaire (PQ, numbered by question), pre and post responses to adverse events form (ADpre- for pre stimulation and ADpost- for post stimulation), and all of the pre post rating scales (all called Karl to indicate a Karolinska-like scale was administered) including sleepiness (Karol-Sleep-Pre or Post), discomfort (Karol-Disc-Pre or Post), pain (Karol-Pain-Pre or Post), mood (Karol-Mood-Pre or Post), anxiety (Karol-Anx-Pre or Post), and energy (Karol-Energy-Pre or Post). A full list of the questions asked before and after each experimental session can be found in GX_Demo_PreQuest_Scales.pdf.

EEG and Behavioral data

All data records are arranged by experiment (Experiment 1 and Experiment 2). The raw data are sorted by each experimental session. The experimental sessions are named according to the participants’ assigned number and that participant’s experimental session number. For example, for participant 6, session 2 the corresponding folder will be 0602.

Within each session folder is the raw EEG, ECG, and EOG data. These data were exported to.cnt format and accompanying.evt file, without any applied filters or data augmentation. Each.cnt file is labeled with a project pseudonym (GX) followed by the participant number, year of data acquisition, month of acquisition, date of acquisition and end time of acquisition in 24-hour clock notation. For example, GX_07_2019-11-15_20-06-07.cnt indicates that this data file was collected from participant 7, on November (11) 15th, 2019 and the recording ended at 20:06:07 hrs (08:06:07 PM). The session folder also contains a.mat file and a.txt file. These files contain session timers as well as the montage/s entered for each session. Within the MATLABfilestream < participant number > .mat files relevant variables include Montages, and stim. For Experiment 1 the Montages variable contains the three stimulation conditions that were applied for the defined session. For example, for participant 8 the Montages file for session 2 (0802) indicates ‘P30’,’F0’,’P0’. This indicates that the P30 stimulation was applied in stimulation block 1, whereas F0 was applied during stimulation block 2, and P0 was applied during stimulation block 3 (see Fig. 3aStim Enabled time periods). For Experiment 2 the Montages variable contains the single stimulation condition that was applied for the whole session, the stimulation condition was repeated three times within the variable for code execution dependencies. For example, for participant 19 the Montages file for session 2 (1902) indicates ‘M30’, ‘M30’,’M30’. This indicates that the M30 stimulation condition was applied for all stimulation trials (20 trials total) during session 2 (see Fig. 3eStim Enabled time periods). The stim variable within the MATLABfilestream < participant number > .mat files on the other hand kept track of parameters that were passed to PEBL and variables defined within MATLAB for file execution. The amp variable defined the stimulation amplitude that was intended to be applied during each session (see Table 1, 2 for stimulation amplitudes applied). The blocklenmins and the blocklen variables defined the length of each block as outlined in Fig. 2e,g in units of mins and secs, respectively. The variables timeon, rampup, rampdown, and repeat defined the length of time stimulation was applied for, the ramp up and ramp down times, and the amount of times stimulation was repeated within a block (Fig. 2f,h), respectively. Other variables within the stim variable and within the MATLABfilestream < participant number > .mat files contained parameters that tracked parallel experimental timelines. The text files, MATLABfilestream < participant number > .txt were used as additional time parameter trackers and were not pertinent to any study outcome. Within each session folder is also a folder with identical session naming. This subfolder contains the exported CTT data as well as a CTT summary in.csv and.txt formats, respectively. The.cnt and.evt can be used in both MATLAB and python using free and open access accompanying libraries95.

The CTT data are located within each session’s folder in a subfolder with an identical name. For example, for participant 19 session 2, their CTT data can be found by navigating through 1902 > 1902 > ptracker-1902.csv. The ptracker- < participant number + session number > .csv file contains metrics collected from the trackball. Some of these useful metrics include the participant number (subnum), the time stamp (time), the cursor’s x-position (posX), the cursor’s y-position (posY), the change in time steps in ms (timeDelta), and the cursor’s radial deviation from the center of the screen (deviation). For additional details on CTT output see PEBL’s ptracker documentation.

The physiological (EEG, ECG, EOG) and the behavioral (CTT) data can be time aligned by using triggers sent to the EEG amplifier. The start of the CTT is indicated by the first Block Start trigger (code:02), which can be found in the EEG data once it has been imported for post processing. The start of each stimulation trial is indicated with a stimulation start trigger (code:16). After the stimulation start trigger was delivered, to the stimulator and EEG amplifier, the stimulation current was ramped up over the course of 5 secs until it reached the desired intensity. After 30 secs of stimulation at the desired intensity a stimulation stop trigger (code:32) was delivered to the stimulator and EEG amplifier, and the stimulation intensity was ramped down over the course of 5 secs. This process repeated 4 times for each stimulation enabled block.

Technical Validation

Our technical validation consisted of consulting computational current flow modeling, quality control of behavioral metrics, and quality control of EEG and ECG voltage changes.

A high-resolution finite element model (FEM) was generated based on an MR image (1 mm3 voxel size) in order to predict current flow pattern in three different montages used in the study (i.e. frontal, motor, parietal). The head model consisted of seven different tissues layers with conductivities assigned to each: skin (0.465 S/m), skull (0.01 S/m), fat (0.025 S/m), CSF (1.65 S/m), air (10−15 S/m), gray matter (0.276 S/m) and white matter (0.126 S/m). The resulting masks were then meshed using ScanFE (Simpleware, LTD, Exeter, UK) and solved in a FEM solver (COMSOL, Burlington, MA, USA). The total stimulating current in each montage (i.e. frontal, motor, parietal) was applied at the center electrode and the four (three for frontal) surrounding electrodes were assigned as ground. The FEM model predicted the expected magnitude of current (electric fields) reaching underlying brain tissue and that electrode montages encapsulated the 3 brain regions of interest (frontal, motor, parietal; Fig. 4a–f). Mean EEG recordings of scalp voltages during stimulation, were in accord with the magnitude and spatial distribution of FEM model predictions of scalp voltage for each montage (Fig. 4d–f). To examine the designated frequency of stimulation applied during each stimulation trial, the Welch power spectral density (PSD; Fig. 4g); during stimulation topoplots; and time-frequency spectrograms (Fig. 4k–p) for EEG data were computed for pre, during, and post stimulation, accordingly, for all participants. Together these metrics aided in corroborating the applied stimulation frequency (with the PSD and spectrograms) as well as the stimulation’s spatial location (with the topoplots). The stimulation voltage artifacts in the trial-wise timeseries data (Fig. 4k,n) also aided in stimulation montage and frequency corroboration. These participant and trial-wise data are fully indexed for EEG PSDs91:, spectrograms92:, and topoplots93: In addition, we extracted and tabulated the PSD at the most dominant frequency during stimulation for all participants and all trials, across both experiments (see Online-only Table 1 for Experiment 1 and Online-only Table 2 for Experiment 2). All dominant frequencies matched the frequency of programmed stimulation (i.e. 0 Hz for F0, M0, P0; 5 Hz for F5, M5, P5; and 30 Hz for F30, M30, P30). These are tabulated together with behavioral data (CTT deviation change) for each trial of all participants across both experiments. These tabulated data also contain trial-wise means and standard deviations, whereas group-wise sample sizes, means, standard deviations, and confidence intervals can be found in Table 4. Metrics for participants who repeated the experiment were averaged across repeats before being added to group-wise metrics.

Fig. 4
figure 4

Technical validations. (a–c) A high-resolution MRI-derived finite element method (FEM) model computed for frontal, motor, and parietal stimulation montages. These quasi-static models are generalizable to 0, 5, and 30 Hz. (d–f) FEM model-predicted voltage topography (Model) during stimulation compared with single-participant (participant 10) peak scalp voltage (EEG) for frontal, motor, and parietal stimulation. (g) Baseline corrected EEG Welch power spectral density (PSD) computed over 30-sec periods pre, during, and post stimulation for participant 10 over all 9 stimulation conditions. (h) Percent change in deviation for behavioral (CTT) results for Experiment 1 averaged across 4 trials of each indicated stimulation condition. Data are summarized across participants and stimulation montages. Blacked out boxes indicate missing data. (i) Percent change in deviation for behavioral (CTT) results for Experiment 2 averaged across 20 trials of each indicated stimulation montage. Data are summarized across participants and stimulation montages. (j) Percent change in deviation for Experiment 2 across participants on a trial level for each of the 20 stimulation trials. Colorbars indicate the minimum (red), maximum (blue), and no change (white) in mean CTT deviation during 30 sec of stimulation compared to 30 secs before stimulation. For panels (i) and (j) repeated participants are indicated with individual colors and linked gray bars. Exemplary timeseries trials (trial 1) for an (k) F30 and (n) M30 session. Timeseries indicates combined EEG (channel C3), ECG, and CTT data (raw and moving average) before, during, and after stimulation; with an expanded view (inset) of EEG and ECG data. Spectrogram for an (l) F30 stimulation trial, derived from the EEG timeseries trial in panel (k) and spectrogram for an (o) M30 stimulation trial, derived from the EEG timeseries trial in panel (n). One trial of behavioral (CTT) data, for an (m) F30 and (p) M30 stimulation trial, comparing 30 secs before (Pre), during, and after (Post) stimulation. Mean deviation is indicated by dashed vertical lines. Panels (k–p) all show exemplary data for participant 24. (q,r) Behavioral (CTT) deviation from the center of the annulus, for one participant who repeated Experiment 2, three times with F30 and M30 montages. Each experimental run is indicated with a different participant number (1st run = 22, 2nd run = 23, 3rd run = 24). Deviation scores are indicted for 30 secs pre, during, and post stimulation. Mean deviation is indicated in orange, median is indicated in yellow, and each trial is indicted in shades of blue.

Table 4 Experiment 1 and 2 group-wise CTT deviation change and EEG PSD.

CTT data were examined after each experimental session to ensure data were a continuous stream that approximated the time of the EEG, ECG and EOG recordings. Since CTT data were sampled at the frequency of the experimental monitor’s screen refresh rate, data were sometimes nonuniformly sampled at 60 Hz. This nonuniformity was eliminated post hoc with uniform sampling using the resample function in MATLAB. The CTT data were then examined 30 secs before, during, and after stimulation. The mean across trials for each time period was computed for each stimulation montage across participants for both Experiment 1 and 2 (Fig. 4h,i). For Experiment 2, we examined the average percent change in deviation (taken over 20 trials) for each participant and each stimulation type (F30 and M30; Fig. 4i). We then expanded our examination to look at each participants’ performance (percent change in deviation) on a trial-to-trial level for each stimulation type (F30 and M30; Fig. 4j). Four of the participants who repeated the experiments were denoted with unique participant numbers including participant number 12,19; participant number 15, 18; participant number 21, 25, 26; and participant number 22, 23, 24 (Fig. 4i,j). Two trials for session 1 and 2 for participant 24 are examined in detail from different perspectives including as a timeseries signal plotted with concurrent CTT (Fig. 4k,n); as a time-frequency breakdown (spectrogram) of the EEG voltage from C3 (Fig. 4l,o), and as behavioral comparison of CTT data pre, during, and post stimulation (Fig. 4m,p). Behavioral CTT data for all three repeats for participant number 22, 23, 24 were examined in detail for F30 and M30 stimulation montages (Fig. 4q,r).

During EEG, ECG, and EOG data collection; data were monitored in real time to ensure continuous data streaming. For participant 01 session 01 and session 02, data collection was halted at the end of the sessions (0101 and 0102) due to a technical error. Session 0101 contained 1 trial of F0 for ~2 mins, whereas session 0102 contained 1 trial of F0 for 30 sec. For participant 02 session 01 (data record 0201), the first trial of F30 contained a ramp-up/down time of 30 secs rather than 5 secs. Subsequent trials for 0201 contained a 5 sec ramp-up/down time. EEG amplitudes over time were examined to confirm expected stimulation-generated scalp voltage (voltage artifact see21,22) during stimulation and concurrency with ECG and CTT data (Fig. 4k,n). EEG spectra during stimulation were examined to ensure that they contained significant power at the frequencies of stimulation (0 Hz, 5 Hz, 30 Hz; Fig. 4l,o). The CTT deviations, for the aforementioned examinations, were computed and its distributions were examined on a trial-by-trial basis (Fig. 4q,r).

Code availability

The latest version of all accompanying code for this dataset can be acquired within this repository: MATLAB, version 2018b and 2019b were utilized with functions from EEGlab96, Raincloud plots toolbox97, and ANT neuro’s import functions95.


  1. Gözenman, F. & Berryhill, M. E. Working memory capacity differentially influences responses to tDCS and HD-tDCS in a retro-cue task. Neuroscience Letters 629, 105–109, (2016).

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  2. Chua, E. F., Ahmed, R. & Garcia, S. M. Effects of HD-tDCS on memory and metamemory for general knowledge questions that vary by difficulty. Brain Stimulation 10, 231–241, (2017).

    Article  PubMed  Google Scholar 

  3. Clancy, K. J. et al. Lasting connectivity increase and anxiety reduction via transcranial alternating current stimulation. Social Cognitive and Affective Neuroscience 13, 1305–1316, (2018).

    Article  PubMed  PubMed Central  Google Scholar 

  4. Coffman, B. A., Clark, V. P. & Parasuraman, R. Battery powered thought: enhancement of attention, learning, and memory in healthy adults using transcranial direct current stimulation. NeuroImage 85, 895–908, (2014). Pt 3.

    Article  PubMed  Google Scholar 

  5. Morya, E. et al. Beyond the target area: an integrative view of tDCS-induced motor cortex modulation in patients and athletes. Journal of Neuroengineering and Rehabilitation 16, 141, (2019).

    Article  PubMed  PubMed Central  Google Scholar 

  6. Cole, L. et al. Effects of high-definition and conventional transcranial direct-current stimulation on motor learning in children. Frontiers in Neuroscience 12, 787, (2018).

    Article  PubMed  PubMed Central  Google Scholar 

  7. Bikson, M. et al. Rigor and reproducibility in research with transcranial electrical stimulation: an NIMH-sponsored workshop. Brain Stimulation 11, 465–480, (2018).

    Article  PubMed  Google Scholar 

  8. Castillo-Saavedra, L. et al. Clinically effective treatment of Fibromyalgia pain with high-definition transcranial direct current stimulation: phase II open-label dose optimization. The Journal of Pain: Official Journal of the American Pain Society 17, 14–26, (2016).

    Article  Google Scholar 

  9. Datta, A. et al. Gyri-precise head model of transcranial direct current stimulation: improved spatial focality using a ring electrode versus conventional rectangular pad. Brain Stimulation 2, 201–207, (2009). 207.e201.

    Article  PubMed  PubMed Central  Google Scholar 

  10. Reinhart, R. M. G. & Nguyen, J. A. Working memory revived in older adults by synchronizing rhythmic brain circuits. Nature Neuroscience 22, 820–827, (2019).

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  11. Nguyen, J., Deng, Y. & Reinhart, R. M. G. Brain-state determines learning improvements after transcranial alternating-current stimulation to frontal cortex. Brain Stimulation 11, 723–726, (2018).

    Article  PubMed  PubMed Central  Google Scholar 

  12. Lang, S., Gan, L. S., Alrazi, T. & Monchi, O. Theta band high definition transcranial alternating current stimulation, but not transcranial direct current stimulation, improves associative memory performance. Scientific Reports 9, 8562, (2019).

    ADS  CAS  Article  PubMed  PubMed Central  Google Scholar 

  13. Abellaneda-Pérez, K. et al. Differential tDCS and tACS effects on working memory-related neural activity and resting-state connectivity. Frontiers in Neuroscience 13, 1440, (2019).

    Article  PubMed  Google Scholar 

  14. Jog, M. et al. Concurrent imaging of markers of current flow and neurophysiological changes during tDCS. Frontiers in Neuroscience 14, 374, (2020).

    Article  PubMed  PubMed Central  Google Scholar 

  15. Esmaeilpour, Z. et al. Methodology for tDCS integration with fMRI. Human Brain Mapping 41, 1950–1967, (2020).

    Article  PubMed  Google Scholar 

  16. Zheng, X., Alsop, D. C. & Schlaug, G. Effects of transcranial direct current stimulation (tDCS) on human regional cerebral blood flow. NeuroImage 58, 26–33, (2011).

    Article  PubMed  Google Scholar 

  17. McDermott, T. J. et al. tDCS modulates behavioral performance and the neural oscillatory dynamics serving visual selective attention. Human Brain Mapping 40, 729–740, (2019).

    Article  PubMed  Google Scholar 

  18. Baxter, B. S., Edelman, B. J., Sohrabpour, A. & He, B. Anodal transcranial direct current stimulation increases bilateral directed brain connectivity during motor-imagery based brain-computer interface control. Frontiers in Neuroscience 11, 691, (2017).

    Article  PubMed  PubMed Central  Google Scholar 

  19. Dmochowski, J. P., Koessler, L., Norcia, A. M., Bikson, M. & Parra, L. C. Optimal use of EEG recordings to target active brain areas with transcranial electrical stimulation. NeuroImage 157, 69–80, (2017).

    Article  PubMed  Google Scholar 

  20. Lazarev, V. V., Gebodh, N., Tamborino, T., Bikson, M. & Caparelli-Daquer, E. M. Experimental-design specific changes in spontaneous EEG and during intermittent photic stimulation by high definition transcranial direct current stimulation. Neuroscience 426, 50–58, (2020).

    CAS  Article  PubMed  Google Scholar 

  21. Gebodh, N. et al. Inherent physiological artifacts in EEG during tDCS. Neuroimage 185, 408–424, (2019).

    Article  PubMed  Google Scholar 

  22. Noury, N., Hipp, J. F. & Siegel, M. Physiological processes non-linearly affect electrophysiological recordings during transcranial electric stimulation. NeuroImage 140, 99–109, (2016).

    Article  PubMed  Google Scholar 

  23. Roy, A., Baxter, B. & He, B. High-definition transcranial direct current stimulation induces both acute and persistent changes in broadband cortical synchronization: a simultaneous tDCS-EEG study. IEEE transactions on bio-medical engineering 61, 1967–1978, (2014).

    Article  PubMed  PubMed Central  Google Scholar 

  24. Baniasadi, M., Proverbio, D., Gonçalves, J., Hertel, F. & Husch, A. FastField: an open-source toolbox for efficient approximation of deep brain stimulation electric fields. Preprint at (2020).

  25. Lauro, P. M., Lee, S., Ahn, M., Barborica, A. & Asaad, W. F. DBStar: an open-source tool kit for imaging analysis with patient-customized deep brain stimulation platforms. Stereotactic and Functional Neurosurgery 96, 13–21, (2018).

    Article  PubMed  Google Scholar 

  26. Lauro, P. M. et al. DBSproc: an open source process for DBS electrode localization and tractographic analysis. Human Brain Mapping 37, 422–433, (2016).

    Article  PubMed  Google Scholar 

  27. Huang, Y., Datta, A., Bikson, M. & Parra, L. C. Realistic volumetric-approach to simulate transcranial electric stimulation—ROAST—a fully automated open-source pipeline. Journal of Neural Engineering 16, 056006, (2019).

    ADS  Article  PubMed  PubMed Central  Google Scholar 

  28. Saturnino, G. B. et al. SimNIBS 2.1: a comprehensive pipeline for individualized electric field modelling for transcranial brain stimulation. (Springer, 2019).

  29. Lio, G., Thobois, S., Ballanger, B., Lau, B. & Boulinguez, P. Removing deep brain stimulation artifacts from the electroencephalogram: issues, recommendations and an open-source toolbox. Clinical Neurophysiology: Official Journal of the International Federation of Clinical Neurophysiology 129, 2170–2185, (2018).

    Article  Google Scholar 

  30. Hussain, S. Single-pulse open-loop TMS-EEG dataset. OpenNeuro (2019).

  31. Reteig, L. C., Newman, L. A., Ridderinkhof, K. R. & Slagter, H. A. EEG study of the attentional blink; before, during, and after transcranial direct current stimulation (tDCS). OpenNeuro (2019).

  32. Holgado, D. M. et al. tDCS over the left prefrontal cortex does not affect time-trial self-paced cycling performance: evidence from oscillatory brain activity and power output. Preprint at (2018).

  33. Mikulan, E. et al. Simultaneous human intracerebral stimulation and HD-EEG, ground-truth for source localization methods. Scientific Data 7, 127, (2020).

    Article  PubMed  PubMed Central  Google Scholar 

  34. Huang, Y. et al. Measurements and models of electric fields in the in vivo human brain during transcranial electric stimulation. eLife 6, (2017).

  35. Huang, Y., Parra, L. C. & Haufe, S. The New York Head-a precise standardized volume conductor model for EEG source localization and tES targeting. NeuroImage 140, 150–162, (2016).

    Article  PubMed  Google Scholar 

  36. Khadka, N. et al. Realistic anatomically detailed open-source spinal cord stimulation (RADO-SCS) model. Journal of Neural Engineering 17, 026033, (2020).

    ADS  Article  PubMed  Google Scholar 

  37. Esmaeilpour, Z., Kronberg, G., Reato, D., Parra, L. C. & Bikson, M. Temporal interference stimulation targets deep brain regions by modulating neural oscillations. Preprint at (2020).

  38. Botvinik-Nezer, R. et al. Variability in the analysis of a single neuroimaging dataset by many teams. Nature 582, 84–88, (2020).

    ADS  CAS  Article  PubMed  PubMed Central  Google Scholar 

  39. Wiese, E., Abubshait, A., Azarian, B. & Blumberg, E. J. Brain stimulation to left prefrontal cortex modulates attentional orienting to gaze cues. Philosophical Transactions of the Royal Society of London. Series B, Biological Sciences 374, 20180430, (2019).

    Article  PubMed  PubMed Central  Google Scholar 

  40. Lo, O. Y., van Donkelaar, P. & Chou, L. S. Effects of transcranial direct current stimulation over right posterior parietal cortex on attention function in healthy young adults. The European Journal of Neuroscience 49, 1623–1631, (2019).

    Article  PubMed  PubMed Central  Google Scholar 

  41. Nelson, J. T. et al. Enhancing vigilance in operators with prefrontal cortex transcranial direct current stimulation (tDCS). NeuroImage 85 Pt 3, 909–917, (2014). Pt 3.

    Article  PubMed  Google Scholar 

  42. Clark, V. P. et al. TDCS guided using fMRI significantly accelerates learning to identify concealed objects. NeuroImage 59, 117–128, (2012).

    Article  PubMed  Google Scholar 

  43. Fiori, V., Nitsche, M. A., Cucuzza, G., Caltagirone, C. & Marangolo, P. High-definition transcranial direct current stimulation improves verb recovery in aphasic patients depending on current intensity. Neuroscience 406, 159–166, (2019).

    CAS  Article  PubMed  Google Scholar 

  44. Martin, D. M. et al. Pre-treatment attentional processing speed and antidepressant response to transcranial direct current stimulation: results from an international randomized controlled trial. Brain Stimulation 11, 1282–1290, (2018).

    Article  PubMed  Google Scholar 

  45. Shiasy, Y., Shakiba, S., Taremian, F., Akhavan Hejazi, S. M. & Abasi, A. The effectiveness of attention bias modification with and without trans cranial direct current stimulation in chronic low back pain. Iranian Journal of Psychiatry 15, 112–125 (2020).

    PubMed  PubMed Central  Google Scholar 

  46. Myruski, S., Cho, H., Bikson, M. & Dennis-Tiwary, T. A. Transcranial direct current stimulation (tDCS) augments the effects of gamified, mobile attention bias modification. Preprint at (2020).

  47. Makeig, S. & Jolley, K. COMPTRACK: a compensatory tracking task for monitoring alertness. (Naval Health Research Center San Diego Ca, 1995).

  48. Makeig, S., Jung, T. P. & Sejnowski, T. J. Awareness during drowsiness: dynamics and electrophysiological correlates. Canadian Journal of Experimental Psychology 54, 266–273, (2000).

    CAS  Article  PubMed  Google Scholar 

  49. Huang, R. S., Jung, T. P., Delorme, A. & Makeig, S. Tonic and phasic electroencephalographic dynamics during continuous compensatory tracking. NeuroImage 39, 1896–1909, (2008).

    Article  PubMed  Google Scholar 

  50. Huang, R. S., Jung, T. P. & Makeig, S. Analyzing event-related brain dynamics in continuous compensatory tracking tasks. 2005 IEEE Engineering in Medicine and Biology 27th Annual Conference. 5750–5753, (2005).

  51. Huber, R. et al. Human cortical excitability increases with time awake. Cerebral Cortex 23, 1–7, (2013).

    Article  Google Scholar 

  52. Huang, R. S., Jung, T. P. & Makeig, S. Event-related brain dynamics in continuous sustained-attention tasks. International Conference on Foundations of Augmented Cognition, 65-74, (2007).

  53. Schenka, C., Schnupp, T., Heinze, C., Krajewski, J. & Golz, M. The compensatory tracking task: a pattern recognition based approach for classifying vigilance. Proceedings Measuring Behavior 7, 470–472 (2010).

    Google Scholar 

  54. Nitsche, M. A. & Paulus, W. Excitability changes induced in the human motor cortex by weak transcranial direct current stimulation. J Physiol 527, 633–639 (2000). Pt 3.

    CAS  Article  Google Scholar 

  55. Bindman, L. J., Lippold, O. C. J. & Redfearn, J. W. T. The action of brief polarizing currents on the cerebral cortex of the rat (1) during current flow and (2) in the production of long-lasting after-effects. The Journal of Physiology 172, 369–382 (1964).

    CAS  Article  Google Scholar 

  56. Reato, D., Bikson, M. & Parra, L. C. Lasting modulation of in vitro oscillatory activity with weak direct current stimulation. Journal of Neurophysiology 113, 1334–1341, (2015).

    Article  PubMed  Google Scholar 

  57. Antal, A. et al. Comparatively weak after-effects of transcranial alternating current stimulation (tACS) on cortical excitability in humans. Brain Stimulation 1, 97–105, (2008).

    Article  PubMed  Google Scholar 

  58. Kronberg, G., Rahman, A., Sharma, M., Bikson, M. & Parra, L. C. Direct current stimulation boosts hebbian plasticity in vitro. Brain Stimulation 13, 287–301, (2020).

    Article  PubMed  Google Scholar 

  59. Reato, D., Rahman, A., Bikson, M. & Parra, L. C. Low-intensity electrical stimulation affects network dynamics by modulating population rate and spike timing. The Journal of Neuroscience: The Official Journal of the Society for Neuroscience 30, 15067–15079, (2010).

    CAS  Article  Google Scholar 

  60. Fröhlich, F. & McCormick, D. A. Endogenous electric fields may guide neocortical network activity. Neuron 67, 129–143, (2010).

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  61. Reato, D. et al. Transcranial electrical stimulation accelerates human sleep homeostasis. PLoS computational biology 9, e1002898, (2013).

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  62. Gebodh, N., Vanegas, M. I. & Kelly, S. P. Effects of stimulus size and contrast on the initial primary visual cortical response in humans. Brain Topogr 30, 450–460, (2017).

    Article  PubMed  PubMed Central  Google Scholar 

  63. Cancel, L. M., Arias, K., Bikson, M. & Tarbell, J. M. Direct current stimulation of endothelial monolayers induces a transient and reversible increase in transport due to the electroosmotic effect. Scientific Reports 8, 9265, (2018).

    ADS  CAS  Article  PubMed  PubMed Central  Google Scholar 

  64. Bikson, M. et al. Effects of uniform extracellular DC electric fields on excitability in rat hippocampal slices in vitro. The Journal of Physiology 557, 175–190, (2004).

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  65. Deans, J. K., Powell, A. D. & Jefferys, J. G. R. Sensitivity of coherent oscillations in rat hippocampus to AC electric fields. The Journal of Physiology 583, 555–565, (2007).

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  66. Maeda, K. et al. Weak sinusoidal electric fields entrain spontaneous Ca transients in the dendritic tufts of CA1 pyramidal cells in rat hippocampal slice preparations. PloS One 10, e0122263, (2015).

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  67. Radman, T., Su, Y., An, J. H., Parra, L. C. & Bikson, M. Spike timing amplifies the effect of electric fields on neurons: implications for endogenous field effects. The Journal of Neuroscience: The Official Journal of the Society for Neuroscience 27, 3030–3036, (2007).

    CAS  Article  Google Scholar 

  68. Huang, J. et al. Evoked potentials and behavioral performance during different states of brain arousal. BMC neuroscience 18, 21, (2017).

    Article  PubMed  PubMed Central  Google Scholar 

  69. Oken, B. S., Salinsky, M. C. & Elsas, S. M. Vigilance, alertness, or sustained attention: physiological basis and measurement. Clinical neurophysiology: official journal of the International Federation of Clinical Neurophysiology 117, 1885–1901, (2006).

    CAS  Article  Google Scholar 

  70. Jung, T. P. et al. Arousing feedback rectifies lapse in performance and corresponding EEG power spectrum. 2010 Annual International Conference of the IEEE Engineering in Medicine and Biology, (2010).

  71. Tzyy-Ping, J., Makeig, S., Stensmo, M. & Sejnowski, T. J. Estimating alertness from the EEG power spectrum. IEEE Transactions on Biomedical Engineering 44, 60–69, (1997).

    Article  Google Scholar 

  72. Lenartowicz, A. et al. Electroencephalography correlates of spatial working memory deficits in attention-deficit/hyperactivity disorder: vigilance, encoding, and maintenance. Journal of Neuroscience 34, 1171–1182, (2014).

    CAS  Article  PubMed  Google Scholar 

  73. Habelt, B., Arvaneh, M., Bernhardt, N. & Minev, I. Biomarkers and neuromodulation techniques in substance use disorders. Bioelectronic Medicine 6, (2020).

  74. Roy, Y. et al. Deep learning-based electroencephalography analysis: a systematic review. Journal of Neural Engineering 16, 051001, (2019).

    ADS  Article  PubMed  Google Scholar 

  75. Yang, G. R. & Wang, X. J. Artificial neural networks for neuroscientists: a primer. Neuron 107, 1048–1070, (2020).

  76. Farrens, J., Simmons, A., Luck, S. & Kappenman, E. Electroencephalogram (EEG) recording protocol for cognitive and affective human neuroscience research. (2020).

  77. Buysse, D. J., Reynolds, C. F., Monk, T. H., Berman, S. R. & Kupfer, D. J. The Pittsburgh sleep quality index: a new instrument for psychiatric practice and research. Psychiatry Research 28, 193–213, (1989).

    CAS  Article  PubMed  Google Scholar 

  78. Akerstedt, T. & Gillberg, M. Subjective and objective sleepiness in the active individual. Int J Neurosci 52, 29–37, (1990).

    CAS  Article  PubMed  Google Scholar 

  79. Kaida, K. et al. Validation of the Karolinska sleepiness scale against performance and EEG variables. Clin Neurophysiol 117, 1574–1581, (2006).

    Article  PubMed  Google Scholar 

  80. D’Atri, A. et al. Bilateral 5 Hz transcranial alternating current stimulation on fronto-temporal areas modulates resting-state EEG. Sci Rep 7, (2017).

  81. Iohom, G. in Postoperative Pain Management An Evidence-Based Guide to Practice (ed George Shorten) Ch. 11, 102-108 (W.B. Saunders, 2006).

  82. Haefeli, M. & Elfering, A. Pain assessment. European Spine Journal 15, S17–S24, (2006).

    Article  PubMed  Google Scholar 

  83. Mueller, S. T. & Piper, B. J. The psychology experiment building language (PEBL) and PEBL test battery. Journal of Neuroscience Methods 222, 250–259, (2014).

    Article  PubMed  Google Scholar 

  84. Kuo, H. I. et al. Comparing cortical plasticity induced by conventional and high-definition 4 × 1 ring tDCS: a neurophysiological study. Brain Stimulation 6, 644–648, (2013).

    Article  PubMed  Google Scholar 

  85. Huang, Y., Datta, A., Bikson, M. & Parra, L. C. in 2018 40th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC). 3072-3075 (2018).

  86. Villamar, M. F. et al. Technique and considerations in the use of 4 × 1 ring high-definition transcranial direct current stimulation (HD-tDCS). Journal of Visualized Experiments: JoVE, e50309, (2013).

  87. Gebodh, N., Esmaeilpour, Z., Datta, A. & Bikson, M. Dataset of concurrent EEG, ECG, and behavior with multiple doses of transcranial electrical stimulation. Zenodo (2020).

  88. Gebodh, N. Dataset of concurrent EEG, ECG, and behavior with multiple doses of transcranial electrical stimulation -exp1-data downsampled. Zenodo (2020).

  89. Gebodh, N. Dataset of concurrent EEG, ECG, and behavior with multiple doses of transcranial electrical stimulation -exp2-data downsampled. Zenodo (2020).

  90. Gebodh, N., Esmaeilpour, Z., Datta, A. & Bikson, M. Dataset of concurrent EEG, ECG, and behavior with multiple doses of transcranial electrical stimulation - BIDS. OpenNeuro (2021).

  91. Gebodh, N. & Bikson, M. Dataset of concurrent EEG, ECG, and behavior with multiple doses of transcranial electrical stimulation - stimulation trials PSD. figshare (2021).

  92. Gebodh, N. & Bikson, M. Dataset of concurrent EEG, ECG, and behavior with multiple doses of transcranial electrical stimulation - stimulation trials timeseries. figshare (2021).

  93. Gebodh, N. & Bikson, M. Dataset of concurrent EEG, ECG, and behavior with multiple doses of transcranial electrical stimulation - stimulation trials topoplots. figshare (2021).

  94. Smyth, C. The pittsburgh sleep quality index (PSQI). Insight - the Journal of the American Society of Ophthalmic Registered Nurses 25, 97–98, (2000).

    CAS  Article  Google Scholar 

  95. ANT Neuro Development Team. Supporting documentation and downloads (2021).

  96. Delorme, A. & Makeig, S. EEGLAB: an open source toolbox for analysis of single-trial EEG dynamics including independent component analysis. J Neurosci Methods 134, 9–21, (2004).

    Article  PubMed  PubMed Central  Google Scholar 

  97. Allen, M., Poggiali, D., Whitaker, K., Marshall, T. R. & Kievit, R. A. Raincloud plots: a multi-platform tool for robust data visualization. Wellcome Open Research 4, 63, (2019).

    Article  PubMed  PubMed Central  Google Scholar 

Download references


Portions of this study were funded by X (formerly Google X), the Moonshot Factory. The funding source had no influence on study conduction or result evaluation. MB is further supported by grants from the National Institutes of Health: R01NS101362, R01NS095123, R01NS112996, R01MH111896, R01MH109289, and (to NG) NIH-G-RISE T32GM136499. We would like to thank Yu Xin Zhu and Michaela Chum for all their technical assistance.

Author information




N. Gebodh designed the experiment, collected data, ran data analysis, created data visualizations, and wrote the manuscript. M. Bikson designed the experiment and wrote the manuscript. A. Datta designed the experiment and revised the manuscript. Z. Esmaeilpour ran pre-hoc validation modeling and wrote the manuscript. All the authors read and approved the final manuscript.

Corresponding author

Correspondence to Nigel Gebodh.

Ethics declarations

Competing interests

The City University of New York has patents on Brain Stimulation with MB and AD as inventors. MB and AD have equity in Soterix Medical Inc. MB consults, received grants, assigned inventions, and/or serves on the SAB of Boston Scientific, GlaxoSmithKline, Biovisics, Mecta, Halo Neuroscience, X.

Additional information

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Online-only Tables

Online-only Table 1 Experiment 1 trial-wise CTT deviation change and EEG PSD.
Online-only Table 2 Experiment 2 trial-wise CTT deviation change and EEG PSD.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit

The Creative Commons Public Domain Dedication waiver applies to the metadata files associated with this article.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Gebodh, N., Esmaeilpour, Z., Datta, A. et al. Dataset of concurrent EEG, ECG, and behavior with multiple doses of transcranial electrical stimulation. Sci Data 8, 274 (2021).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI:


Quick links

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing