JMJohanna Metsomaa

Johanna Metsomaa

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Johanna Metsomaa has a total of 31 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Real-time noise cancellation for EEG monitoring and brain–computer interfaces

    by Matilda Makkonen, Olli-Pekka Kahilakoski, Johanna Metsomaa, Pantelis Lioumis, Risto J. Ilmoniemi, Tuomas P. Mutanen

    A bstract: Raw electroencephalography (EEG) data suffer from a low signal-to-noise ratio (SNR). Effective real-time cleaning of EEG would improve the robustness of EEG monitoring, brain–computer interfaces, and brain-state-dependent stimulation applications in both laboratory and real-life environments. Here, we present a real-time source-estimate-utilizing noise-discarding algorithm (rtSOUND) for EEG noise suppression. We adapted the established offline SOUND algorithm for real-time use and implemented it into an open-source EEG-processing software. Instead of using conventional temporal filtering, SOUND operates the data with a spatial filter. This makes it particularly suitable for real-time applications, since each streamed data sample can be cleaned separately in near real-time. Unlike temporal filtering methods, SOUND does not make assumptions about the frequency content of noise and brain signals but assumes that the noise topographies differ from those generated by brain activity. With an EEG forward model, rtSOUND cross-validates the EEG time series and estimates the spatial distribution of noise, resulting in a data-cleaning linear spatial filter. Each streamed EEG sample is processed synchronously, and the filter is periodically updated in an asynchronous parallel process. The algorithm rapidly updates the spatial filter in response to changes in the data, ensuring that noise reduction is both immediate and accurately adapted to the current EEG state. rtSOUND was validated with transcranial magnetic stimulation (TMS)–EEG and resting-state EEG datasets measured from 25 healthy subjects. SNR of both TMS-evoked potentials and resting-state data consistently improved across various metrics. rtSOUND particularly benefitted channels with poor SNR, while retaining the waveforms in high-quality channels. The algorithm was fast enough to process data streamed at 5 kHz. rtSOUND improves the SNR of EEG in real time, providing a robust method to improve signal quality for brain-state-monitoring applications.

  • Open Access

    Evoked EEG Responses to TMS Targeting Regions Outside the Primary Motor Cortex and Their Test–Retest Reliability

    by Yufei Song, Pedro C. Gordon, Johanna Metsomaa, Maryam Rostami, Paolo Belardinelli, Ulf Ziemann

    Transcranial magnetic stimulation (TMS)–evoked electroencephalography (EEG) potentials (TEPs) provide unique insights into cortical excitability and connectivity. However, confounding EEG signals from auditory and somatosensory co-stimulation complicate TEP interpretation. Our optimized sham procedure established with TMS of primary motor cortex (Gordon in JAMA 245:118708, 2021) differentiates direct cortical EEG responses to TMS from those caused by peripheral sensory inputs. Using this approach, this study aimed to investigate TEPs and their test–retest reliability when targeting regions outside the primary motor cortex, specifically the left angular gyrus, supplementary motor area, and medial prefrontal cortex. We conducted three identical TMS–EEG sessions one week apart involving 24 healthy participants. In each session, we targeted the three areas separately using a figure-of-eight TMS coil for active TMS, while a second coil away from the head produced auditory input for sham TMS. Masking noise and electric scalp stimulation were applied in both conditions to achieve matched EEG responses to peripheral sensory inputs. High test–retest reliability was observed in both conditions. However, reliability declined for the ‘cleaned’ TEPs, resulting from the subtraction of evoked EEG response to the sham TMS from those to the active, particularly for latencies > 100 ms following the TMS pulse. Significant EEG differences were found between active and sham TMS at latencies < 90 ms for all targeted areas, exhibiting distinct spatiotemporal characteristics specific to each target. In conclusion, our optimized sham procedure effectively reveals EEG responses to direct cortical activation by TMS in brain areas outside primary motor cortex. Moreover, we demonstrate the impact of peripheral sensory inputs on test–retest reliability of TMS-EEG responses.


  • Open Access

    Exploring Motor Network Connectivity in State-Dependent Transcranial Magnetic Stimulation: A Proof-of-Concept Study

    by Laura Marzetti, Alessio Basti, Roberto Guidotti, Antonello Baldassarre, Johanna Metsomaa, Christoph Zrenner, Antea D’andrea, Saeed Makkinayeri, Giulia Pieramico, Risto J. Ilmoniemi, et al.

    State-dependent non-invasive brain stimulation (NIBS) informed by electroencephalography (EEG) has contributed to the understanding of NIBS inter-subject and inter-session variability. While these approaches focused on local EEG characteristics, it is acknowledged that the brain exhibits an intrinsic long-range dynamic organization in networks. This proof-of-concept study explores whether EEG connectivity of the primary motor cortex (M1) in the pre-stimulation period aligns with the motor network (MN) and how MN state affects responses to transcranial magnetic stimulation (TMS) of M1. One thousand suprathreshold TMS pulses were delivered to left M1 in 8 subjects at rest, with simultaneous EEG. Motor evoked potentials (MEPs) were measured from the right hand. Source-space functional connectivity of left M1 to the whole-brain was assessed using the imaginary part of the Phase Locking Value at the frequency of the sensorimotor µ-rhythm in a 1-second window before the pulse. Group-level connectivity revealed functional links between left M1, left supplementary motor area, and right M1. Also, pulses delivered at high MN connectivity states result in a greater MEP amplitude compared to low connectivity states. At single-subject level, this relation is more expressed in subjects that feature an overall high cortico-spinal excitability. In conclusion, this study paves the way for MN connectivity based NIBS. Highlights: EEG pre-stimulus connectivity of left M1 largely corresponds to the motor network Stronger motor network (MN) connectivity corresponds to greater MEP amplitudes Linear regression models based on MN connectivity predicts MEP amplitude


  • Open Access

    Bihemispheric motor oscillatory network states determine cortical responses to transcranial magnetic stimulation

    by Yang Bai, Paolo Belardinelli, Johanna Metsomaa, Ulf Ziemann

  • Open Access

    Intrinsic motor network connectivity predicts corticospinal excitability

    by Laura Marzetti, Alessio Basti, Federico Chella, Roberto Guidotti, Johanna Metsomaa, Christoph Zrenner, Ulf Ziemann, Risto Ilmoniemi, Gian Luca Romani, Vittorio Pizzella


  • Open Access

    Individualized decoding of cortical excitability states using single-trial TMS responses analyzed by machine learning

    by Johanna Metsomaa, Paolo Belardinelli, Maria Ermolova, Ulf Ziemann, Christoph Zrenner

  • Open Access

    Real-time noise removal for closed-loop EEG–TMS

    by Tuomas P. Mutanen, Matilda Makkonen, Christoph Zrenner, Johanna Metsomaa, Victor H. Souza, Umair Hassan, Risto J. Ilmoniemi


  • Open Access

    Closed-loop optimization of transcranial magnetic stimulation with electroencephalography feedback

    by Aino E. Tervo, Jaakko O. Nieminen, Pantelis Lioumis, Johanna Metsomaa, Victor H. Souza, Heikki Sinisalo, Matti Stenroos, Jukka Sarvas, Risto J. Ilmoniemi

    Background Transcranial magnetic stimulation (TMS) is widely used in brain research and treatment of various brain dysfunctions. However, the optimal way to target stimulation and administer TMS therapies, for example, where and in which electric-field direction the stimuli should be given, is yet to be determined. Objective To develop an automated closed-loop system for adjusting TMS parameters online based on TMS-evoked brain activity measured with electroencephalography (EEG). Methods We developed an automated closed-loop TMS–EEG set-up. In this set-up, the stimulus parameters are electronically adjusted with multi-locus TMS. As a proof of concept, we developed an algorithm that automatically optimizes the stimulation parameters based on single-trial EEG responses. We applied the algorithm to determine the electric-field orientation that maximizes the amplitude of the TMS– EEG responses. The validation of the algorithm was performed with six healthy volunteers, repeating the search twenty times for each subject. Results The validation demonstrated that the closed-loop control worked as desired despite the large variation in the single-trial EEG responses. We were often able to get close to the orientation that maximizes the EEG amplitude with only a few tens of pulses. Conclusion Optimizing stimulation with EEG feedback in a closed-loop manner is feasible and enables effective coupling to brain activity.


  • Open Access

    Automated search of stimulation targets with closed-loop transcranial magnetic stimulation

    by Aino E. Tervo, Johanna Metsomaa, Jaakko O. Nieminen, Jukka Sarvas, Risto J. Ilmoniemi


  • Open Access

    Automated search of stimulation targets with closed-loop transcranial magnetic stimulation

    by Aino E. Tervo, Johanna Metsomaa, Jaakko O. Nieminen, Jukka Sarvas, Risto J. Ilmoniemi

    Transcranial magnetic stimulation (TMS) protocols often include a manual search of an optimal location and orientation of the coil or peak stimulating electric field to elicit motor responses in a target muscle. This target search is laborious, and the result is user-dependent. Here, we present a closed-loop search method that utilizes automatic electronic adjustment of the stimulation based on the previous responses. The electronic adjustment is achieved by multi-locus TMS, and the adaptive guiding of the stimulation is based on the principles of Bayesian optimization to minimize the number of stimuli (and time) needed in the search. We compared our target-search method with other methods, such as systematic sampling in a predefined cortical grid. Validation experiments on five healthy volunteers and further offline simulations showed that our adaptively guided search method needs only a relatively small number of stimuli to provide outcomes with good accuracy and precision. The automated method enables fast and user-independent optimization of stimulation parameters in research and clinical applications of TMS.