COMETS2: An advanced MATLAB toolbox for the numerical analysis of electric fields generated by transcranial direct current stimulation

J Neurosci Methods. 2017 Feb 1:277:56-62. doi: 10.1016/j.jneumeth.2016.12.008. Epub 2016 Dec 16.

Abstract

Background: Since there is no way to measure electric current generated by transcranial direct current stimulation (tDCS) inside the human head through in vivo experiments, numerical analysis based on the finite element method has been widely used to estimate the electric field inside the head. In 2013, we released a MATLAB toolbox named COMETS, which has been used by a number of groups and has helped researchers to gain insight into the electric field distribution during stimulation. The aim of this study was to develop an advanced MATLAB toolbox, named COMETS2, for the numerical analysis of the electric field generated by tDCS.

New method: COMETS2 can generate any sizes of rectangular pad electrodes on any positions on the scalp surface. To reduce the large computational burden when repeatedly testing multiple electrode locations and sizes, a new technique to decompose the global stiffness matrix was proposed.

Results: As examples of potential applications, we observed the effects of sizes and displacements of electrodes on the results of electric field analysis. The proposed mesh decomposition method significantly enhanced the overall computational efficiency.

Comparison with existing methods: We implemented an automatic electrode modeler for the first time, and proposed a new technique to enhance the computational efficiency.

Conclusions: In this paper, an efficient toolbox for tDCS analysis is introduced (freely available at http://www.cometstool.com). It is expected that COMETS2 will be a useful toolbox for researchers who want to benefit from the numerical analysis of electric fields generated by tDCS.

Keywords: Electrostatic field; Finite element method (FEM); MATLAB toolbox; Neuromodulation; Transcranial direct current stimulation (tDCS).

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Brain Waves / physiology*
  • Electrodes
  • Electromagnetic Fields*
  • Female
  • Finite Element Analysis
  • Head / physiology*
  • Humans
  • Male
  • Software*
  • Statistics as Topic / instrumentation
  • Statistics as Topic / methods*
  • Transcranial Direct Current Stimulation / methods