Αρχειοθήκη ιστολογίου

Δευτέρα 14 Νοεμβρίου 2016

MagPy: A Python toolbox for controlling Magstim transcranial magnetic stimulators

S01650270.gif

Publication date: Available online 13 November 2016
Source:Journal of Neuroscience Methods
Author(s): Nicolas A. McNair
BackgroundTo 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 methodThis 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.ResultsIn 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 methodsThe 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.ConclusionsTogether, the MagPy toolbox and QuickFire serial cable provide an effective means for controlling Magstim stimulators during experiments while ensuring high‐precision timing.



from #MedicinebyAlexandrosSfakianakis via xlomafota13 on Inoreader http://ift.tt/2fq1anK
via IFTTT

Δεν υπάρχουν σχόλια:

Δημοσίευση σχολίου