Code Monkey home page Code Monkey logo

tool-dimep's Introduction

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.

tool-dimep's People

Contributors

agricolab avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

tool-dimep's Issues

Lewis with discernible_only==True does not use correct start point

Vie personal communication:

Zum Lewis-Algorithmus bei discernible_only: Hier wird der onset, ab dem das Signal die 3SD überschreitet zwischen minlatency (10ms nach TMS) und maxlatency (30ms nach TMS) bestimmt. Jedoch wird die Amplitude dann immer ab Beginn der response (also ab TMS) bestimmt, d.h. ich denke es fehlt ein +10ms bei der Amplitudenbestimmung. Also habe ich Zeile 90 wie folgt geändert: amp = np.ptp(response[onset +minlatency: onset +minlatency+ window]). Wenn discernible_only auf False ist dann ändert sich nichts, aber wenn es auf True ist dann wird die Amplitude relativ ab dem onset bestimmt. Übersehe ich da irgendetwas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.