MagPy: A Python']Python toolbox for controlling Magstim transcranial magnetic stimulators

被引:11
|
作者
McNair, Nicolas A. [1 ]
机构
[1] Univ Sydney, Sch Psychol, Brennan MacCallum Bldg A18, Sydney, NSW 2006, Australia
关键词
!text type='Python']Python[!/text; Toolbox; Magstim; TMS; Serial communication; Timing; TMS; INTENSITY; PERCEPTION; MASKING; DESIGN; FMRI;
D O I
10.1016/j.jneumeth.2016.11.006
中图分类号
Q5 [生物化学];
学科分类号
071010 ; 081704 ;
摘要
Background: To date, transcranial magnetic stimulation (TMS) studies manipulating stimulation parameters have largely used blocked paradigms. However, altering these parameters on a trial-by-trial basis in Magstim stimulators is complicated by the need to send regular (1 Hz) commands to the stimulator. Additionally, effecting such control interferes with the ability to send TMS pulses or simultaneously present stimuli with high-temporal precision. New method: This manuscript presents the MagPy toolbox, a Python software package that provides full control over Magstim stimulators via the serial port. It is able to maintain this control with no impact on concurrent processing, such as stimulus delivery. In addition, a specially-designed "QuickFire" serial cable is specified that allows MagPy to trigger TMS pulses with very low-latency. Results: In a series of experimental simulations, MagPy was able to maintain uninterrupted remote control over the connected Magstim stimulator across all testing sessions. In addition, having MagPy enabled had no effect on stimulus timing all stimuli were presented for precisely the duration specified. Finally, using the QuickFire cable, MagPy was able to elicit TMS pulses with sub-millisecond latencies. Comparison with existing methods: The MagPy toolbox allows for experiments that require manipulating stimulation parameters from trial to trial. Furthermore, it can achieve this in contexts that require tight control over timing, such as those seeking to combine TMS with fMRI or EEG. Conclusions: Together, the MagPy toolbox and QuickFire serial cable provide an effective means for controlling Magstim stimulators during experiments while ensuring high-precision timing. (C) 2016 Elsevier B.V. All rights reserved.
引用
收藏
页码:33 / 37
页数:5
相关论文
共 50 条
  • [1] PyTES: A Python']Python toolbox for closed-loop transcranial electrical stimulation
    Xu, Jiachen
    Grosse-Wentrup, Moritz
    [J]. SOFTWAREX, 2023, 23
  • [2] ObsPy: A Python']Python Toolbox for Seismology
    Beyreuther, Moritz
    Barsch, Robert
    Krischer, Lion
    Megies, Tobias
    Behr, Yannik
    Wassermann, Joachim
    [J]. SEISMOLOGICAL RESEARCH LETTERS, 2010, 81 (03) : 530 - 533
  • [3] MTpy: A Python']Python toolbox for magnetotellurics
    Krieger, Lars
    Peacock, Jared R.
    [J]. COMPUTERS & GEOSCIENCES, 2014, 72 : 167 - 175
  • [4] Pyo, the Python']Python DSP toolbox
    Belanger, Olivier
    [J]. MM'16: PROCEEDINGS OF THE 2016 ACM MULTIMEDIA CONFERENCE, 2016, : 1214 - 1217
  • [5] PyCoTools: a Python']Python toolbox for COPASI
    Welsh, Ciaran M.
    Fullard, Nicola
    Proctor, Carole J.
    Martinez-Guimera, Alvaro
    Isfort, Robert J.
    Bascom, Charles C.
    Tasseff, Ryan
    Przyborski, Stefan A.
    Shanley, Daryl P.
    [J]. BIOINFORMATICS, 2018, 34 (21) : 3702 - 3710
  • [6] MotorNet, a Python']Python toolbox for controlling differentiable biomechanical effectors with artificial neural networks
    Codol, Olivier
    Michaels, Jonathan A.
    Kashefi, Mehrdad
    Pruszynski, J. Andrew
    Gribble, Paul L.
    [J]. ELIFE, 2024, 12
  • [7] DASPy: A Python']Python Toolbox for DAS Seismology
    Hu, Minzhe
    Li, Zefeng
    [J]. SEISMOLOGICAL RESEARCH LETTERS, 2024, 95 (05) : 3055 - 3066
  • [8] PyPLT: Python']Python Preference Learning Toolbox
    Camilleri, Elizabeth
    Yannakakis, Georgios N.
    Melhart, David
    Liapis, Antonios
    [J]. 2019 8TH INTERNATIONAL CONFERENCE ON AFFECTIVE COMPUTING AND INTELLIGENT INTERACTION (ACII), 2019,
  • [9] WALNUT- A PYTHON']PYTHON BIOPSYCHOPHYSICS TOOLBOX
    Hoffmann, Sven
    Siebelmann, Bernhard
    Wascher, Edmund
    Rinkenauer, Gerhard
    [J]. JOURNAL OF COGNITIVE NEUROSCIENCE, 2013, : 173 - 173
  • [10] Toolbox of image processing for numerical python']python
    Silva, AG
    Lotufo, RD
    Machado, RC
    [J]. XIV BRAZILIAN SYMPOSIUM ON COMPUTER GRAPHICS AND IMAGE PROCESSING, PROCEEDINGS, 2001, : 402 - 402