pywoodway

Python library to interface with Woodway treadmills, specifically designed for the Woodway split belt treadmill.

https://github.com/munroe-meyer-institute-vr-laboratory/pywoodway

Science Score: 52.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
    Organization munroe-meyer-institute-vr-laboratory has institutional domain (www.unmc.edu)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.1%) to scientific vocabulary

Keywords

biomechanics experimental-design python
Last synced: 6 months ago · JSON representation ·

Repository

Python library to interface with Woodway treadmills, specifically designed for the Woodway split belt treadmill.

Basic Info
  • Host: GitHub
  • Owner: Munroe-Meyer-Institute-VR-Laboratory
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 44.9 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
biomechanics experimental-design python
Created over 4 years ago · Last pushed about 3 years ago
Metadata Files
Readme License Citation

README.md

pyWoodway

Parties Involved

Institution: Munroe Meyer Institute in the University of Nebraska Medical Center
Laboratory: Virtual Reality Laboratory
Advisor: Dr. James Gehringer
Developer: Walker Arce

Motivation

This Python library was written to facilitate closed-loop experimental protocol for biomechanics and motor-control related research.

Installation

Clone this repository, cd into the directory using either your virtual environment or your local environment, and run: python setup.py install

Usage

``` from pywoodway.treadmill import SplitBelt, find_treadmills import time

asn = 'FTHCUWVAA' bsn = 'FTHCUQ9IA' aport, bport = findtreadmills(asn=asn, bsn=b_sn)

if aport is not None and bport is not None: print("Split belt treadmill found on ports", aport, "and", bport) sb = SplitBelt(aport.name, bport.name) sb.startbelts(True, False, True, False) print("Belt A set to 2 MPH and belt B set to -2 MPH.") sb.setspeed(2.0, -2.0) print("Set incline to 20%") sb.setelevations(20.0) time.sleep(10) print("Split belt speed:", sb.getspeeds()) print("Split belt incline:", sb.getelevations()) print("Belt A set to -2 MPH and belt B set to 2 MPH.") # sb.setspeed(-2.0, 2.0) time.sleep(10) print("Split belt speed:", sb.getspeeds()) sb.stopbelts() print("Split belt is stopped.") sb.close() else: print("Split belt treadmill was not found.") ```

To find your Woodway treadmill with the script, plug in your treadmill to your computer and execute the following script,

``` from serial.tools import list_ports

ports = listports.comports() for port in ports: print(port.serialnumber) ```

Write down the serial number for each treadmill (if using a split belt these are marked A and B) and pass those as arguments to the find_treadmills() function.

Citation

@misc{Arce_pyWoodway_2021, author = {Arce, Walker and Gehringer, James}, month = {8}, title = {{pyWoodway}}, url = {https://github.com/Munroe-Meyer-Institute-VR-Laboratory/pyWoodway}, year = {2021} }

Owner

  • Name: Munroe Meyer Institute Virtual Reality Laboratory
  • Login: Munroe-Meyer-Institute-VR-Laboratory
  • Kind: organization

The Virtual Reality Laboratory is researching how cutting-edge virtual reality technology can be applied to help our patients.

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Arce"
  given-names: "Walker"
  orcid: "https://orcid.org/0000-0003-0819-0710"
- family-names: "Gehringer"
  given-names: "James"
  orcid: "https://orcid.org/0000-0003-3457-2288"
title: "pyWoodway"
version: v0.2.4
date-released: 2021-08-22
url: "https://github.com/Munroe-Meyer-Institute-VR-Laboratory/pyWoodway"

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 55 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 4
  • Total maintainers: 1
pypi.org: pywoodway

Communicate with your Woodway treadmill in your Python scripts.

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 55 Last month
Rankings
Dependent packages count: 10.1%
Dependent repos count: 21.5%
Forks count: 29.8%
Average: 35.5%
Stargazers count: 38.8%
Downloads: 77.2%
Maintainers (1)
Last synced: 6 months ago

Dependencies

requirements.txt pypi
  • pyserial *
  • setuptools *
setup.py pypi
  • pyserial *