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 条
  • [31] GliderTools: A Python']Python Toolbox for Processing Underwater Glider Data
    Gregor, Luke
    Ryan-Keogh, Thomas J.
    Nicholson, Sarah-Anne
    du Plessis, Marcel
    Giddy, Isabelle
    Swart, Sebastiaan
    [J]. FRONTIERS IN MARINE SCIENCE, 2019, 6
  • [32] EFI: A Toolbox for Feature Importance Fusion and Interpretation in Python']Python
    Kumar, Aayush
    Mase, Jimiama M.
    Rengasamy, Divish
    Rothwell, Benjamin
    Torres, Mercedes Torres
    Winkler, David A.
    Figueredo, Grazziela P.
    [J]. MACHINE LEARNING, OPTIMIZATION, AND DATA SCIENCE, LOD 2022, PT II, 2023, 13811 : 249 - 264
  • [33] PyNeval: A Python']Python Toolbox for Evaluating Neuron Reconstruction Performance
    Zhang, Han
    Liu, Chao
    Yu, Yifei
    Dai, Jianhua
    Zhao, Ting
    Zheng, Nenggan
    [J]. FRONTIERS IN NEUROINFORMATICS, 2022, 15
  • [34] FrosPy: A Modular Python']Python Toolbox for Normal Mode Seismology
    Schneider, Simon
    Talavera-Soza, Sujania
    Jagt, Lisanne
    Deuss, Arwen
    [J]. SEISMOLOGICAL RESEARCH LETTERS, 2022, 93 (2A) : 967 - 974
  • [35] Causal Discovery Toolbox: Uncovering causal relationships in Python']Python
    Kalainathan, Diviyan
    Goudet, Olivier
    Dutta, Ritik
    [J]. JOURNAL OF MACHINE LEARNING RESEARCH, 2020, 21
  • [36] A Python']Python toolbox for computing solutions to canonical problems in electromagnetics
    Swartz, Julian P.
    [J]. IEEE ANTENNAS AND PROPAGATION MAGAZINE, 2006, 48 (03) : 78 - 81
  • [37] Tutorial: The LuxPy Python']Python Toolbox for Lighting and Color Science
    Smet, Kevin A. G.
    [J]. LEUKOS, 2020, 16 (03) : 179 - 201
  • [38] PyCIL: a Python']Python toolbox for class-incremental learning
    Zhou, Da-Wei
    Wang, Fu-Yun
    Ye, Han-Jia
    Zhan, De-Chuan
    [J]. SCIENCE CHINA-INFORMATION SCIENCES, 2023, 66 (09)
  • [39] Wyrm: A Brain-Computer Interface Toolbox in Python']Python
    Venthur, Bastian
    Daehne, Sven
    Hoehne, Johannes
    Heller, Hendrik
    Blankertz, Benjamin
    [J]. NEUROINFORMATICS, 2015, 13 (04) : 471 - 486
  • [40] GSTools v1.3: a toolbox for geostatistical modelling in Python']Python
    Mueller, Sebastian
    Schueler, Lennart
    Zech, Alraune
    Hesse, Falk
    [J]. GEOSCIENTIFIC MODEL DEVELOPMENT, 2022, 15 (07) : 3161 - 3182