bioRxiv Science⌕ Search

Biology subjects

Massimini, M.

Publications and source records attributed to Massimini, M..

At least 19 recordsLinked to original sources

Inferring structural complexity from dynamical measures

Complexity, commonly defined as the coexistence of integration and differentiation, is a fundamental property of thalamocortical networks and is regarded as a prerequisite for adaptive brain function and consciousness. A variety of metrics have been developed to estimate neural complexity from recorded activity and are increasingly employed in both research and clinical settings. Yet, the extent to which these measures reflect specific architectural features of the underlying circuits remains poorly understood. Here, we used Wilson-Cowan mean-field equations to simulate neural dynamics across networks spanning a broad range of architectures. By systematically rewiring connectivity, we generated graded variations in the structural integration-differentiation balance and assessed a panel of complexity measures derived either from spontaneous activity (observational metrics) or from responses to external perturbations (perturbational metrics). Observational measures exhibited markedly heterogeneous behavior: some were primarily sensitive to network integration, others to differentiation, whereas some showed limited sensitivity to architectural manipulations. In contrast, perturbational measures robustly peaked at intermediate rewiring steps and scaled with small-worldness, consistent with architectures that combine local recurrence and distributed communication. Moreover, perturbational metrics proved robust to common-driver confounds and were highest in a wake-like regime near critical instability, declining as sleep-like dynamics became more widespread across the network. Taken together, these findings map widely used empirical complexity measures onto specific network architectures, reveal dynamical factors that can bias observational estimates, and provide guidance for inferring complexity in systems whose internal organization is inaccessible, unconventional, or only partially known, including brain organoids, non-human nervous systems, and synthetic neural networks.

neuroscience↗

Simultaneous recordings link intracranial and scalp correlates of somatosensory awareness in humans

The electrophysiological events underlying the conscious perception of touch in humans remain elusive. Scalp-EEG studies have identified a negative deflection peaking 120-200 ms after stimulus onset, known as the N140. This component, recently reinterpreted as the somatosensory awareness negativity (N140/SAN), has been proposed as a putative marker of tactile awareness, but its underlying neuronal dynamics are still unknown. Intracranial studies have shown that responses to median nerve stimulation include, after an initial phasic activation mainly localized to primary somatosensory cortices, a predominantly insulo-opercular tonic broadband high-frequency activity (BHA; 50-150 Hz) that has been linked to tactile awareness. Yet these scalp and intracranial signatures have never been directly linked. Using simultaneous high-density scalp EEG and intracranial EEG recordings, we show that the N140/SAN is the scalp manifestation of the insulo-opercular local field potential that follows the BHA response to stimulation. By bridging invasive and non-invasive recordings our results identify the neural origins of the N140/SAN and connect scalp and intracranial correlates of somatosensory awareness.

neuroscience↗

Lack of vision shifts occipital dynamics toward a frontal-like regime and enhances top-down connectivity

The human occipital cortex is robustly repurposed for non-visual cognition after blindness, yet it remains unknown whether this functional reassignment is accompanied by a fundamental retuning of its intrinsic neural dynamics. Here, we recorded the electroencephalographic (EEG) responses to transcranial magnetic stimulation (TMS) of frontal and occipital areas to causally probe local cortical reactivity and large-scale effective connectivity in 16 blind individuals and 16 sighted controls. Direct perturbation of the occipital cortex revealed a profound shift in its intrinsic operating regime: compared with sighted participants, blind individuals exhibited faster, lower-amplitude TMS-evoked potentials that closely resembled the electrophysiological signature of the frontal cortex, which turned out to be comparable in the two populations. At the network level, source analyses further showed a specific enhancement of frontal-to-occipital effective connectivity, whereas occipital-to-frontal propagation remained unchanged. Importantly, among blind participants, faster occipital dynamics were associated with stronger frontal-driven occipital recruitment, directly linking local temporal retuning to enhanced top-down network influence. Together, these findings indicate that blindness reshapes both the intrinsic dynamics and large-scale integration of the occipital cortex. We propose that successful functional reassignment of the occipital cortex requires not only changes in cortical connectivity but also a tuning of the temporal operating regime toward a faster dynamics, enabling its embedding into distributed cognitive networks and providing a mechanistic framework for the functional reassignment of deafferented cortex.

neuroscience↗

White-matter disconnection shapes distributed cortical spectral dynamics after stroke

Focal brain lesions are thought to induce sleep-like slow-wave activity in perilesional cortex through altered excitation-inhibition balance and structural disconnection, but whether these dynamics extend to remote yet structurally intact regions remain unclear. Here we combined source-reconstructed high-density EEG (128 channels) with structural disconnection mapping in 49 acute stroke patients and 20 age-matched controls. Cortical regions were classified as perilesional, structurally disconnected, or non-disconnected using individual lesion masks registered to normative white-matter atlases. Perilesional cortex showed increased delta and theta power and reduced beta power relative to controls. Critically, structurally disconnected regions exhibited electrophysiological changes comparable to perilesional cortex, including enhanced low-frequency activity and steeper aperiodic spectral slopes. These alterations correlated with neurological severity and multidomain behavioral impairment. Our findings demonstrate that post-stroke slow-wave activity propagates along structural disconnection pathways, providing direct electrophysiological evidence for connectional diaschisis and identifying distributed network targets for physiology-guided neuromodulation.

neuroscience↗

Temporal fingerprints of TMS-evoked potentials across thalamocortical circuits

BackgroundElectroencephalographic (EEG) potentials evoked by transcranial magnetic stimulation (TMS) offer a direct window into cortical dynamics. Yet, a systematic exploration of their morphological features, analogous to sensory-evoked potentials, is lacking, especially for stimulation outside the motor cortex. AimTo obtain region-specific properties of frontal, parietal and occipital networks from the time course of TMS-evoked potentials (TEPs). Materials and MethodsWe implemented and applied an automatic procedure to compute peak-to-peak amplitude, peak latency, and inter-peak interval of TEPs recorded from 40 neurotypical subjects stimulated over left occipital (n=25), parietal (n=25), and frontal (n=25) cortices. ResultsOccipital TEPs showed the largest peak-to-peak amplitude and longest latency of the first waveform component, independently of stimulation intensity and consistent with the recruitment of a large patch of densely interconnected neurons. Concerning later components, both latency and inter-peak interval systematically decreased along the posterior-to-anterior axis, reflecting progressively faster recurrent dynamics from the alpha-dominated occipital circuitry to the tightly coupled loops between frontal cortex and subcortical structures. Parietal TEPs showed intermediate amplitude and latency measures, consistent with the heterogeneous cytoarchitectonic and connectional organization of the superior parietal cortex. ConclusionsOur findings suggest that TEP morphology is shaped by the distinct properties of the stimulated networks, with early amplitude reflecting the extent of local recruitment and later temporal features tracking the rhythm of recurrent activity. This work offers a mechanistically grounded and practically accessible approach, also released as a Python-based tool, that allows to characterize cortical reactivity across different brain-states and populations.

neuroscience↗

Critical dynamics in spontaneous EEG predict perturbational complexity in disorders of consciousness with measurable evoked responses

Identifying which severely brain-injured patients retain the capacity for consciousness remains a major challenge in neurocritical care. The perturbational complexity index (PCI) provides a reliable assessment of consciousness capacity, but its reliance on transcranial magnetic stimulation and EEG (TMS-EEG) limits bedside scalability. PCI and brain criticality capture complementary dimensions of brain dynamics: PCI quantifies the complexity of the brains evoked response to perturbation, whereas criticality characterizes the intrinsic organization of spontaneous activity. Here, we tested whether resting-state EEG signatures of criticality predict PCImax in disorders of consciousness, extending prior findings from anesthesia to severe brain injury. In 26 patients with vascular, traumatic, or anoxic brain injury, multivariate criticality related features did not generalize PCImax prediction across the full heterogeneous cohort. However, criticality features predicted PCImax when analyses were restricted to non-anoxic patients and when restricting analyses to patients with non-zero PCImax values. These findings suggest that spontaneous criticality measures index the brains intrinsic dynamical regime that supports complex perturbational responses, while their correspondence with PCImax depends on whether the injured brain retains sufficient capacity to sustain large-scale evoked responses. Together, our results extend the relationship between resting-state criticality and evoked perturbational complexity to disorders of consciousness and support the development of stratified EEG measures in severe brain injury.

neuroscience↗

Thermodynamics of consciousness: A non-invasive perturbational framework

The quest for reliable and objective measures of consciousness is critical in basic and clinical neuroscience. Across species, the Perturbational Complexity Index (PCI) has emerged as a robust empirical marker by directly perturbing the brain, yet its underlying principles of physics are not fully understood. Here, we bridge this gap by introducing a non-invasive framework based on generative whole-brain models of non-equilibrium brain dynamics. Using these models, we identified violations of the Fluctuation-Dissipation Theorem (FDT) in humans and rodents across wakefulness, anesthesia, and disorders of consciousness. Mirroring the patterns observed with PCI, we found decreased FDT violations in unresponsive disorders of consciousness and anesthesia compared to conscious conditions. This reveals a close link between PCI and non-equilibrium dynamics in spontaneous brain signals, grounding PCI in fundamental principles of physics. Overall, this framework offers new complementary, non-invasive, model-based avenues for understanding the nature of consciousness and for developing objective tools to assess its loss and recovery in health and disease. It also provides a principled foundation for discovering novel strategies to restore consciousness.

neuroscience↗

Slow waves generation and propagation in a model of brain lesions

Slow waves (SWs), the hallmark of non-rapid eye movement (NREM) sleep, reflect the periodic occurrence of transient silent periods in cortical neurons (Down states). During NREM, SWs and Down states physiologically disrupt large-scale network interactions. Since early EEG studies, SWs have also been observed in awake patients after brain injury. Emerging evidence indicates that these intrusions of sleep-like activity interfere with ongoing network activity and contribute to motor and cognitive deficits; yet, the mechanisms governing the generation and spread of post-lesional SWs remain unclear. Here, we extend a neural mass model of EEG to capture transitions between wake-like and sleep-like dynamics and embed it in connectome-based networks with virtual lesions. This model supports that local disfacilitation, topology-dependent propagation, and synchrony-dependent amplification throughout the connectome are sufficient to produce post-lesional SWs. These mechanisms reproduce the spatial gradients of post-lesional SWs seen in patients and identify actionable targets for neuromodulation and rehabilitation.

neuroscience↗

Recognizing EEG responses to active TMS vs. sham stimulations in different TMS-EEG datasets: a machine learning approach

BackgroundTranscranial Magnetic Stimulation (TMS) with simultaneous Electroencephalogram (TMS-EEG) allows assessing the neurophysiological properties of cortical neurons. However, TMS-evoked EEG potentials (TEPs) can be affected by components unrelated to TMS direct neuronal activation. Accurate, automatic tools are therefore needed to establish the quality of TEPs. ObjectiveTo assess the discriminability of EEG responses to TMS vs. EEG responses to sham stimulations using sequence-to-sequence machine learning (ML). MethodsTwo indipendent TMS-EEG datasets including TMS and several sham stimulation conditions were obtained from the left motor area of healthy volunteers (N=33 across datasets). A Bi-directional Long Short-Term Memory (BiLSTM) ML network was used to label each time point of the EEG signals as pertaining to TMS or sham conditions. Main outcome measures included accuracy at single-trial level and after averaging five to twenty trials. ResultsFor TMS conditions, post-stimulus vs. baseline/pre-stimulus EEG comparisons yielded moderate (60%-75%) single-trial accuracy and high-accuracy (>75%) for 20 trials across datasets, while for sham conditions post- vs. baseline/pre-stimulus EEG comparisons yielded lower accuracy rates than for TMS conditions, except for unmasked auditory stimulation. Furthermore, baseline/pre-stimulus TMS vs. baseline/pre-stimulus sham EEG comparisons showed chance-level accuracy, whereas post-stimulus TMS vs. post-stimulus sham EEG comparisons had moderate (single trial) to high (20 trial) accuracy, except for TMS with and without the click noise masking. Single-subject findings were comparable to group-level results across datasets. ConclusionsTEPs after active TMS are discernible from various sham stimulations even after a handful of trials and at the single-subject level using a BiLSTM ML approach.

neuroscience↗

The specific spatiotemporal evolution of TMS-evoked potentials reflects the engagement of cortical circuits

Transcranial Magnetic Stimulation (TMS) evokes electroencephalographic (EEG) responses that can persist for hundreds of milliseconds. While the first 80 ms after the pulse are widely accepted to reflect genuine cortical responses to TMS, later components have mainly been attributed to the effects of sensory co-stimulations. Here we reappraise this view by investigating the target-specificity of the spatiotemporal evolution of TMS-evoked potentials (TEPs). To this end, we compared TEPs elicited by targeting the premotor and primary motor cortices in 16 healthy subjects, under conditions designed to optimize TMS effectiveness on the cortex while minimizing peripheral confounds. As a counterfactual, we conducted the same comparison on the EEG responses evoked by realistic sham TMS and high-intensity somatosensory scalp stimulation. We found that EEG responses to motor and premotor TMS can exhibit distinct spatiotemporal evolutions, lasting up to 300 ms, both at the group and single-subject levels. These differences were absent or marginally detectable in both realistic sham TMS and high-intensity somatosensory scalp stimulation. Our findings suggest that, when effectiveness is optimized and peripheral confounds are controlled, TMS elicits specific long-lasting genuine EEG responses that reflect the initial engagement of specific cortical targets. These results challenge previous assumptions and highlight how TMS-EEG can be reliably used to assess large-scale properties within corticothalamic networks.

physiology↗

Extracting Reproducible Components from Electroencephalographic Responses to Transcranial Magnetic Stimulation with Group Task-Related Component Analysis

Transcranial magnetic stimulation combined with electroencephalography (TMS-EEG) is a powerful technique for investigating human cortical circuits. However, characterizing TMS-evoked potentials (TEPs) at the group level typically relies on grand averaging across stimulus repetitions (trials) and subjects - an approach that assumes a level of spatial and temporal consistency that is often lacking in TEPs. Here, we introduce an adaptation of Group Task-Related Component Analysis (gTRCA), a novel multivariate signal decomposition method, to automatically extract TEP components that are maximally reproducible across both trials and subjects. Following the validation of a new permutation-based statistical test for gTRCA using simulated data, the method was applied to two independent TMS-EEG datasets, in which stimulation was targeted to the primary motor cortex (M1) in cohorts of 16 and 22 healthy participants. We found that gTRCA reliably identified TEP components that were reproducible at the group level. Notably, the main gTRCA component captured the key spatial, temporal, and spectral features of motor TEPs, remained robust despite reduced number of stimuli and participants, and was consistent across different recordings. These findings demonstrate that gTRCA affords a more reliable characterization of TEPs at the group level, thereby facilitating the translation of TMS-EEG research into clinical practice.

neuroscience↗

Transcranial magnetic vs intracranial electric stimulation: a direct comparison of their effects via scalp EEG recordings

BackgroundSingle-pulse Transcranial Magnetic Stimulation (TMS) and Intracranial Electrical Stimulation (IES) are widely used to probe cortical excitability and connectivity, but their electrophysiological effects have never been compared. ObjectiveThis study aims to fill this gap by using high-density scalp electroencephalogram (hd-EEG) as a common read-out to compare human brain responses to TMS and IES. MethodsThe dataset includes TMS-evoked potentials (TEPs) acquired from healthy subjects (n=22) and IES-evoked potentials (IEPs) recorded from drug-resistant epileptic patients (n=31) during wakefulness. In a subset of subjects TEPs (n=12) and IEPs (n=13) were also recorded during NREM sleep. Amplitude, spectral, and spatiotemporal features of TMS and IES responses, as well as their estimated electrical fields, were compared. ResultsWe observed marked differences between TMS and IES responses. During wakefulness, IEPs are considerably larger, slower and associated with a suppression of cortical activity, whereas TEPs are characterized by multiple waves of recurrent activation. These differences are attenuated during NREM, during which both TMS and IES elicit large EEG responses associated with a prominent suppression of cortical activity. At the global level, the spatiotemporal complexity of the responses to both TMS and IES decreases consistently following the transition from wakefulness to NREM sleep. ConclusionDespite the limitations due to different subject populations (healthy vs pathological), our findings provide a first reference to parallel non-invasive and invasive brain stimulation and to interpret their differential effects. They also offer important insight on how cortical responsiveness is shaped by inhibition and adaptation mechanisms depending on input parameters and brain states. Highlights- IES evokes higher signal-to-noise EEG responses than TMS. - IES responses are larger, slower, and lead to cortical suppression. - TMS elicits faster recurrent waves, with no suppression during wakefulness. - Both TMS and IES converge to similar patterns during NREM sleep.

neuroscience↗

Hemispherotomy: a cortical island of sleep-like activity in awake humans

Hemispherotomy is a neurosurgical procedure for treating refractory epilepsy, which entails disconnecting a significant portion of the cortex, potentially encompassing an entire hemisphere, from its cortical and subcortical connections. While this intervention prevents the spread of seizures, it raises important questions. Given the complete isolation from sensory-motor pathways, it remains unclear whether the disconnected cortex retains any form of inaccessible awareness. More broadly, the activity patterns that large portions of the deafferented cortex can sustain in awake humans remain poorly understood. We address these questions by exploring for the first time the electrophysiological state of the isolated cortex before and after surgery in ten awake pediatric patients. Post-surgery, the isolated cortex exhibited prominent slow oscillations (<2 Hz) and a broad-band shift in power spectral density from high to low frequencies. This resulted in a marked decrease of the spectral exponent, a validated consciousness marker, indicating broad-band slowing characteristic of unconscious states. When compared with a reference pediatric sample across the sleep-wake cycle, the spectral exponent of the contralateral cortex aligned with wakefulness, whereas that of the isolated cortex was consistent with deep NREM sleep. However, spindles did not emerge in the isolated cortex due to the lack of subcortical inputs, constituting a fundamental difference from physiological sleep. These findings demonstrate a unihemispheric sleep-like state during wakefulness, challenging the possibility that hemispherotomy might lead to inaccessible "islands of awareness." Moreover, the persistence of sleep-like patterns years after disconnection provides unique insights into the electrophysiological effects of disconnections in the human brain.

neuroscience↗

Thalamic feedback shapes brain responses evoked by cortical stimulation in mice and humans

Cortical stimulation with single pulses is a common technique in clinical practice and research. However, we still do not understand the extent to which it engages subcortical circuits which contribute to the associated evoked potentials (EPs). Here we find that cortical stimulation generates remarkably similar EPs in humans and mice, with a late component similarly modulated by the subjects behavioral state. We optogenetically dissect the underlying circuit in mice, demonstrating that the late component of these EPs is caused by a thalamic hyperpolarization and rebound. The magnitude of this late component correlates with the bursting frequency and synchronicity of thalamic neurons, modulated by the subjects behavioral state. A simulation of the thalamo-cortical circuit highlights that both intrinsic thalamic currents as well as cortical and thalamic GABAergic neurons contribute to this response profile. We conclude that the cortical stimulation engages cortico-thalamo-cortical circuits highly preserved across different species and stimulation modalities. Graphical abstract O_FIG O_LINKSMALLFIG WIDTH=200 HEIGHT=140 SRC="FIGDIR/small/578243v2_ufig1.gif" ALT="Figure 1"> View larger version (38K): org.highwire.dtl.DTLVardef@cae203org.highwire.dtl.DTLVardef@1bc5223org.highwire.dtl.DTLVardef@b48e43org.highwire.dtl.DTLVardef@1e7fe34_HPS_FORMAT_FIGEXP M_FIG C_FIG

neuroscience↗

Large-scale brain signatures of fluid dynamics and responsiveness linked to consciousness

Signatures of consciousness are found in spectral and temporal properties of neuronal activity. Among these, spatiotemporal complexity after a perturbation has recently emerged as a robust metric to infer levels of consciousness. Perturbation paradigms remain, however, difficult to perform routinely. To discover alternative paradigms and metrics, we systematically explore brain stimulation and resting-state activity in a whole-brain model. We find that perturbational complexity only occurs when the brain model operates within a specific dynamical regime, in which spontaneous activity produces a large degree of functional network reorganizations referred to as being fluid. The regime of high brain fluidity is characterized by a small battery of metrics drawn from dynamical systems theory and predicts the impact of consciousness-altering drugs (Xenon, Propofol, and Ketamine). We validate the predictions in a cohort of 15 subjects at various stages of consciousness and demonstrate their agreement with previously reported perturbational complexity, but in a more accessible paradigm. Beyond the facilitation in clinical use, the metrics highlight complexity properties of brain dynamics in support of the emergence of consciousness.

neuroscience↗

Adaptation shapes local cortical reactivity: from bifurcation diagram and simulations to human physiological and pathological responses

Human studies employing intracerebral and transcranial perturbations suggest that the input-output properties of cortical circuits are dramatically affected during sleep in healthy subjects as well as in awake patients with multifocal and focal brain injury. In all these conditions, cortical circuits react to direct stimulation with an initial activation followed by suppression of activity (Off-period) that disrupts the build-up of sustained causal interactions typically observed in healthy wakefulness. The transition to this stereotypical response is of clinical relevance, being associated with loss of consciousness or loss of function. Here, we provide a mechanistic explanation of these findings by means of mean-field theory and simulations of a cortical-like module endowed with activity-dependent adaptation. First, we show that fundamental aspects of the local responses elicited in humans by direct cortical stimulation can be replicated by systematically varying the relationships between adaptation strength and excitation level in the network. Then, we reveal a region in the adaptation-excitation parameter space of key relevance for both physiological and pathological conditions, where spontaneous activity and responses to perturbation diverge in their ability to reveal Off-periods. Finally, we substantiate through simulations of connected cortical-like modules the role of adaptation mechanisms in preventing cortical neurons from engaging in reciprocal causal interactions, as suggested by empirical studies. These modeling results provide a general theoretical framework and a mechanistic interpretation for a body of neurophysiological measurements that bears key relevance for physiological states as well as for the assessment and rehabilitation of brain-injured patients. Significance StatementSuppression of cortical activity following an initial activation is a defining feature of deep sleep in healthy subjects and wakefulness in patients affected by focal and multifocal brain injuries. Experimental findings suggest that these bimodal responses disrupt the emergence of complex interactions among cortical regions, leading to loss of consciousness or functional impairments. Given their practical implications, it is important to study the mechanisms involved within a general theoretical framework. Using a neuronal network model, we provide evidence for a key role of activity-dependent adaptation mechanisms in shaping the responses to perturbation and in affecting the build-up of complex cortical interactions. Overall, this work provides a mechanistic interpretation relevant for the stratification, follow-up, and rehabilitation of brain-injured patients.

neuroscience↗

Simultaneous stereo-EEG and high-density scalp EEG recordings to study the effects of intracerebral stimulation parameters

BackgroundCortico-cortical evoked potentials (CCEPs) recorded by stereo-electroencephalography (SEEG) are a valuable clinical tool to investigate brain reactivity and effective connectivity. However, these invasive recordings are spatially sparse since they depend on clinical needs. This sparsity hampers systematic comparisons across-subjects, the detection of the whole-brain spatiotemporal properties of CCEPs, as well as their relationships with classic sensory evoked potentials. ObjectiveTo demonstrate that CCEPs recorded by high-density electroencephalography (hd-EEG) are sensitive to changes in stimulation parameters and compensate for the limitations typical of invasive recordings. MethodsSEEG and hd-EEG activities were simultaneously recorded during SPES in drug-resistant epileptic patients (N=36). Changes in stimulation parameters encompassed physical (pulse intensity and width), geometrical (angle and position with respect to white/grey matter) and topological (stimulated cortical area) properties. Differences were assessed by measuring the overall responses and the amplitude of N1 and N2 components of the CCEPs, and by their spectral profiles. ResultsWhile invasive and non-invasive CCEPs were generally correlated, differences in pulse duration, angle and stimulated cortical area were better captured by hd-EEG. Further, hd-EEG responses to SPES reproduced basic features of responses to transcranial magnetic stimulation and showed a much larger amplitude as compared to typical sensory evoked potentials. ConclusionsThe present results show that macroscale hd-EEG recordings are exquisitely sensitive to variations in SPES parameters, including local changes in physical and geometrical stimulus properties, while providing valuable information about whole-brain dynamics. Moreover, the common reference space across subjects represented by hd-EEG may facilitate the construction of a perturbational atlas of effective connectivity. HighlightsO_LICCEPs recorded with hd-EEG and SEEG are correlated. C_LIO_LIhd-EEG recording is highly sensitive to changes in stimulation parameters. C_LIO_LIhd-EEG responses show higher amplitude responses with respect to non-invasive ones. C_LIO_LISimultaneous recordings provide a fixed observation point across subjects. C_LI

neuroscience↗

The rt-TEP tool: real-time visualization of TMS-evoked potentials to maximize cortical activation and minimize artifacts

BackgroundThe impact of transcranial magnetic stimulation (TMS) on cortical neurons is currently hard to predict based on a priori biophysical and anatomical knowledge alone. This problem can hamper the reliability and reproducibility of protocols aimed at measuring electroencephalographic (EEG) responses to TMS. New MethodWe introduce and release a novel software tool to facilitate and standardize the acquisition of TMS-evoked potentials (TEPs). The tool, rt-TEP (real-time TEP), interfaces with different EEG amplifiers and offers a series of informative visualization modes to assess in real time the immediate impact of TMS on the underlying neuronal circuits. ResultsWe show that rt-TEP can be used to abolish or minimize magnetic and muscle artifacts contaminating the post-stimulus period thus affording a clear visualization and quantification of the amplitude of the early (<50 ms) EEG response after averaging a limited number of trials. This real-time readout can then be used to adjust TMS parameters (e.g. site, orientation, intensity) and experimental settings (e.g. loudness and/or spectral features of the noise masking) to ultimately maximize direct cortical effects over the undesired sensory effects of the coils discharge. Comparison with Existing MethodsThe ensemble of real-time visualization modes of rt-TEP are not implemented in any current commercial software and provide a key readout to titrate TMS parameters beyond the a priori information provided by anatomical models. ConclusionsReal-time optimization of stimulation parameters with rt-TEP can facilitate the acquisition of reliable TEPs with a high signal-to-noise ratio and improve the standardization and reproducibility of data collection across laboratories. HighlightsO_LIrt-TEP provides an immediate EEG readout to assess the quality of TEPs in real time C_LIO_LIrt-TEP interfaces with most commercial EEG systems C_LIO_LIInformative, real time visualization allows maximising the cortical impact of TMS while minimizing artifacts C_LIO_LIrt-TEP facilitates the acquisition of reliable TEPs with a high signal-to-noise ratio C_LI

neuroscience↗