Skip to content

Algorithms for Detection of Ipsilateral Motor Evoked Potentials

License

Notifications You must be signed in to change notification settings

agricolab/tool-dimep

Repository files navigation

status Documentation Status Coverage Status MIT license

Detection of Ipsilateral Motor Evoked Potentials

DiMEP stands for Detection of ipsilateral Motor Evoked Potentials and was developed by Robert Guggenberger at the Institute of Neuromodulation and Neurotechnology of the University Hospital Tübingen.

Installation

Install the stabel release from PyPI with pip install dimep and the most recent development tip with pip install git+https://github.com/translationalneurosurgery/tool-dimep.git.

Usage

Access the algorithms with

   from dimep.api import <algorithm>

and subsequently call them, e.g. with

   from dimep.api import lewis
   lewis(trace=trace, tms_sampleidx= 500, fs = 1000)
   # where the trace is the single-channel EMG recording
   # tms_sampleidx marks the onset of the TMS pulse
   # and fs is the sampling rate.

Documentation

Read the documentation on readthedocs.