Coder Social home page Coder Social logo

pitt-rnel / br_stimpy Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 1.0 3.48 MB

br_stimpy: a python wrapper for Blackrock Neurotech's Cerestim API

Home Page: https://pitt-rnel.github.io/br_stimpy/

License: Other

Python 44.80% C++ 55.20%
brain-computer-interface neural-engineering neuroscience blackrock python

br_stimpy's Introduction

br_stimpy: python wrapper for the Blackrock Neurotech Cerestim API

stimpy icon

Read the complete API documentation here.

Dependencies and Installation

This package depends on the Blackrock Cerestim API (for C++), pybind11, and a C++ compiler.

The Blackrock Cerestim API can be downloaded from their website here. The SDK should be unzipped into the extern/ directory (such that the binary and header files are located in extern/Cerestim-API/Binaries).

Pybind11 is included as a git submodule and can be initialized in the source tree by running git submodule update --init.

Once these dependencies are met, the package can be built and installed with pip from the package directory by running pip install .

Quick Example:

from br_stimpy import stimpy

stim_obj = stimpy.Stimulator()
print(stim_obj.api_version)
stim_obj.connect()
stim_obj.simple_stimulus(
    electrode=1,
    afcf=stimpy.WFType.wf_cathodic_first,
    pulses=1,
    amp1=10,
    amp2=10,
    width1=200,
    width2=200,
    frequency=100,
    interphase=100,
)
stim_obj.disconnect()

See additional examples in the examples directory or read the complete API documentation here.

Maintainer

Maintained by Jeff Weiss and RNEL at the University of Pittsburgh.

Disclaimer

The graphic included in this README is not intended to be an official logo or mascot for this package. The maintainers of this package do not claim any ownership over the copyright of this image or the character depicted within it. The authors of this package are not affiliated with Blackrock Neurotech.

br_stimpy's People

Contributors

jmw182 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

jmw182

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.