Suppr超能文献

MagPy:用于控制Magstim经颅磁刺激仪的Python工具箱。

MagPy: A Python toolbox for controlling Magstim transcranial magnetic stimulators.

作者信息

McNair Nicolas A

机构信息

School of Psychology, University of Sydney, Australia.

出版信息

J Neurosci Methods. 2017 Jan 30;276:33-37. doi: 10.1016/j.jneumeth.2016.11.006. Epub 2016 Nov 13.

Abstract

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 (1Hz) 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.

摘要

背景

迄今为止,操纵刺激参数的经颅磁刺激(TMS)研究大多采用组块范式。然而,在Magstim刺激器中逐次试验地改变这些参数很复杂,因为需要向刺激器发送规则的(1Hz)命令。此外,实现这种控制会干扰发送TMS脉冲或同时以高时间精度呈现刺激的能力。

新方法

本文介绍了MagPy工具箱,这是一个Python软件包,可通过串口对Magstim刺激器进行全面控制。它能够保持这种控制,而不会对诸如刺激传递等并发处理产生影响。此外,还指定了一种专门设计的“快速触发”串口电缆,使MagPy能够以极低的延迟触发TMS脉冲。

结果

在一系列实验模拟中,MagPy能够在所有测试环节中对连接的Magstim刺激器保持不间断的远程控制。此外,启用MagPy对刺激定时没有影响——所有刺激都精确地呈现指定的持续时间。最后,使用快速触发电缆,MagPy能够以亚毫秒级的延迟引发TMS脉冲。

与现有方法的比较

MagPy工具箱允许进行需要逐次试验操纵刺激参数的实验。此外,它可以在需要严格控制时间的情况下实现这一点,例如那些试图将TMS与功能磁共振成像(fMRI)或脑电图(EEG)相结合的实验。

结论

总之,MagPy工具箱和快速触发串口电缆为实验期间控制Magstim刺激器提供了一种有效的方法,同时确保了高精度的定时。

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验