GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - CCS-Lab/DS8R_python: An unofficial Python package for Digitimer DS8R current stimulator.

BranchesTags
Open more actions menu

Latest commit

 

History

35 Commits
35 Commits

Folders and files

NameName
Last commit message
Last commit date
DS8R_python_COM
DS8R_python_COM
 
 
ds8r
ds8r
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
README.md
README.md
 
 
example.py
example.py
 
 
setup.py
setup.py
 
 

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()

Update to use COM server

The DS8R_python_COM folder includes files modified to use Common Object Model (COM) server.

  • DS8R_python_COM/ds8r_v2.py is a COM-based version of ds8r/ds8r.py for controlling the DS8R via the COM server.
  • DS8R_python_COM/example_v2.py is a COM-based version of example.py.

To use COM-based version, pywin32 must be installed.

pip install pywin32

If you have any questions or comments, please post an issue in the GitHub repository [here][github-issue]. [github-issue]: https://github.com/CCS-Lab/DS8R_python/issues

About

An unofficial Python package for Digitimer DS8R current stimulator.

Topics

digitimerpackagepython

Resources

Readme
GPL-3.0 license
Activity
Custom properties

Stars

10 stars

Watchers

5 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.