Skip to main content

No project description provided

Project description

Code style: black Code style: black

[!TIP] Dive deeper into our features and usage with the official documentation.

MyoVerse - The AI toolkit for myocontrol research

What is MyoVerse?

MyoVerse is your cutting-edge research companion for unlocking the secrets hidden within biomechanical data! It's specifically designed for exploring the complex interplay between electromyography (EMG) signals, kinematics (movement), and kinetics (forces).

Leveraging the power of PyTorch and PyTorch Lightning, MyoVerse provides a comprehensive suite of tools, including:

  • Data loaders and preprocessing filters tailored for biomechanical signals.
  • Peer-reviewed AI models and components for analysis and prediction tasks.
  • Essential utilities to streamline the research workflow.

Whether you're predicting movement from muscle activity, analyzing forces during motion, or developing novel AI approaches for biomechanical challenges, MyoVerse aims to accelerate your research journey.

[!IMPORTANT]
MyoVerse is built for research. While powerful, it's evolving and may not have the same level of stability as foundational libraries like NumPy. We appreciate your understanding and contributions!

Installation

For Users (Using MyoVerse in your project)

  1. Install MyoVerse: Use pip to install the package directly from GitHub (replace main with a specific tag/branch if needed):
    pip install git+https://github.com/NsquaredLab/MyoVerse.git
    
  2. Install PyTorch with GPU: After installing MyoVerse, install PyTorch.
    • For Windows: Visit the PyTorch installation guide and select the appropriate options (Stable, Windows, Pip, Python, your CUDA version). Copy the generated command, which will look something like this (example for CUDA 12.6):
      pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126 --upgrade
      
    • For Linux: Pytorch GPU is already installed by MyoVerse.

For Developers (Contributing to MyoVerse)

  1. Clone the Repository:
    git clone https://github.com/NsquaredLab/MyoVerse.git # Replace with your actual repo URL if different
    cd MyoVerse
    
  2. Install uv: If you don't have it yet, install uv. Follow the instructions on the uv GitHub page.
  3. Set up Virtual Environment & Install Dependencies: Use uv to create and sync your virtual environment with the project's dependencies.
    uv sync --group dev
    
  4. Install PyTorch with GPU: After syncing other dependencies, install PyTorch.
    • For Windows: Visit the PyTorch installation guide and select the appropriate options (Stable, Windows, Pip, Python, your CUDA version). Use uv to run the install command, for example:
      # Example for CUDA 12.6 - Get the correct command from PyTorch website!
      uv pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126 --upgrade
      
    • For Linux: Pytorch GPU is already installed by MyoVerse.

What is what?

This project uses the following structure:

  • myoverse: This is the main package. It contains:
    • datasets: Contains data loaders, dataset creators, and a wide array of filters to preprocess your biomechanical data (e.g., EMG, kinematics).
    • models: Contains all AI models and their components, ready for training and evaluation.
    • utils: Various utilities to support data handling, model training, and analysis.
  • docs: Contains the source files for the documentation.
  • examples: Contains practical examples demonstrating how to use the package, including tutorials (01_tutorials) and specific use cases like applying filters (02_filters).
  • tests: Contains tests to ensure package integrity and correctness.

What papers/preprints use this package?

Journal / Preprint Server DOI
IEEE Transactions on Biomedical Engineering 10.1109/TBME.2024.3432800
International Journal of Computer Science and Information Security 10.33965/ijcsis_2024190101
medRxiv 10.1101/2024.05.28.24307964
Journal of Neural Engineering 10.1088/1741-2552/ad3498
IEEE Transactions on Neural Systems and Rehabilitation Engineering 10.1109/TNSRE.2023.3295060
2022 44th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC) 10.1109/EMBC48229.2022.9870937

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

myoverse-1.1.2.tar.gz (80.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

myoverse-1.1.2-py3-none-any.whl (101.0 kB view details)

Uploaded Python 3

File details

Details for the file myoverse-1.1.2.tar.gz.

File metadata

  • Download URL: myoverse-1.1.2.tar.gz
  • Upload date:
  • Size: 80.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.0

File hashes

Hashes for myoverse-1.1.2.tar.gz
Algorithm Hash digest
SHA256 35ca8582a03fbff8db0a0d8b7cbaa54b25dc109912764d0e404054b0b288fc8a
MD5 c7d7f06c02b2d93c3dd650fcf3f6cf57
BLAKE2b-256 03d557783a5079af45a49a295c3a8dc168583d67f5955a26a60960ba06da14f3

See more details on using hashes here.

File details

Details for the file myoverse-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: myoverse-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 101.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.0

File hashes

Hashes for myoverse-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 95d635e8eaa2f8de03428050409b6dc9ac99a598efb70d1859130ccedeb7247a
MD5 99b045b9214bd2d012f65b3db2f9de5d
BLAKE2b-256 cd0a2663edcbefb60c9d5faea1202b17d547adc2b645696a860afc470a635cbb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page