Code Monkey home page Code Monkey logo

pybpod-api's Introduction

pybpod-api

About

What is Bpod?

Bpod is a system from Sanworks for precise measurement of small animal behavior. It is a family of open source hardware devices which includes also software and firmware to control these devices.

Bpod software was originally developed in Matlab providing retro-compatibility with the [BControl](http://brodywiki.princeton.edu/bcontrol/index.php/Main_Page`) system.

What is pybpod-api?

Python is one of the most popular programming languages today [1]. This is special true for the science research community because it is an open language, easy to learn, with a strong support community and with a lot of libraries available.

pybpod-api is a Python library that enables communication with the latest Bpod device version.

You can use it directly as a CLI (Command Line Interface) or use your favorite GUI to interact with it.

Developers Team

The Scientific Software Platform (SWP) from the Champalimaud Foundation provides technical know-how in software engineering and high quality software support for the Neuroscience and Cancer research community at the Champalimaud Foundation.

We typical work on computer vision / tracking, behavioral experiments, image registration and database management.

Bpod project

pybpod-api is a python port of the Bpod Matlab project.

All examples and Bpod's state machine and communication logic were based on the original version made available by Josh Sanders.

License

This is Open Source software with an MIT license.

Running examples

  1. Duplicate user_settings.py.template and save it as user_settings.py

     Define the PYBPOD_SERIAL_PORT attribute with your machine serial port where Bpod is connected to
     Define the API_LOG_LEVEL with logging.DEBUG if you want detailed logging for the API
    
  2. On the project root folder run:

     pip3 install -r requirements.txt --upgrade # installs dependencies
     pip3 install . # installs this API
    
  3. Then move to the examples folder and run example:

     cd PROJECT_FOLDER/examples/function_examples
     python3 add_trial_events.py # run example
    

pybpod-api's People

Contributors

umsenhorqualquer avatar micboucinha avatar cajomferro avatar sergiocopeto avatar mohamedelgohary1 avatar mmyros avatar

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.