Skip to content

An unofficial Python package for Digitimer DS8R current stimulator.

License

Notifications You must be signed in to change notification settings

timnaher/DS8R_python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DS8R

An unofficial Python package for Digitimer DS8R current stimulator.

The files provided here enable control of Digitimer DS8R current stimulator using Python. The code is compatiable for Python 3.5 or higher and 64-bit Windows machines

This repository is a Python porting of cocoanlab/DS8R_matlab, based on work by Dr. Choong-Wan Woo and Sungwoo Lee in the COCOAN laboratory.

Installation

Important: Before use, make sure you have installed the original DS8R software, and saved all the files in one folder.

# Install from GitHub
pip install -e git+https://github.com/CCS-Lab/DS8R_python#egg=ds8r

Getting started

The code for the DS8R control using Python should be implemented using two basic parts as follows (refer to example.py for an example use):

from ds8r import DS8R

# create an object of the DS8R class and set parameter values.
ctl = DS8R(demand=20, pulse_width=1000, enabled=1, dwell=10,
           mode=1, polarity=1, source=1, recovery=20)

# apply parameters and trigger
ctl.run()

If you have any questions or comments, please post an issue in the GitHub repository here.

About

An unofficial Python package for Digitimer DS8R current stimulator.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%