Metadata-Version: 2.4
Name: MyoVerse
Version: 1.1.6
Summary: AI toolkit for myocontrol research, processing EMG signals, kinematics, and kinetics using PyTorch.
Author-email: "Raul C. Sîmpetru" <raul.simpetru@fau.de>, Vlad Cnejevici <vlad.cnejevici@fau.de>
Project-URL: PyPI, https://pypi.org/project/MyoVerse/
Project-URL: PyTorch CUDA Wheels, https://download.pytorch.org/whl/cu124/
Project-URL: GitHub, https://github.com/NsquaredLab/MyoVerse
Project-URL: Documentation, https://nsquaredlab.github.io/MyoVerse/
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: icecream>=2.1.4
Requires-Dist: lightning==2.5.0.post0
Requires-Dist: mplcursors>=0.6
Requires-Dist: networkx>=3.4.2
Requires-Dist: numba>=0.61.0
Requires-Dist: pywavelets>=1.8.0
Requires-Dist: rich>=13.9.4
Requires-Dist: scipy>=1.15.2
Requires-Dist: statsmodels>=0.14.4
Requires-Dist: toml>=0.10.2
Requires-Dist: tqdm>=4.67.1
Requires-Dist: zarr==2.18.4
Requires-Dist: numcodecs<0.16,>=0.13.0
Requires-Dist: torch>=2.6.0
Requires-Dist: torchvision>=0.21.0
Dynamic: license-file

<img src="https://github.com/NsquaredLab/MyoVerse/blob/main/docs/source/_static/myoverse_logo.png?raw=true" height="250">

<a href="https://www.python.org/downloads/release/python-3100/"><img alt="Code style: black" src="https://img.shields.io/badge/python-%3E=3.10,%20%3C=3.13-blue"></a>
<a href="https://www.pytorchlightning.ai/"><img alt="Code style: black" src="https://img.shields.io/badge/uses-pytorch & pytorch lighting-blueviolet"></a>

> [!TIP]
> Dive deeper into our features and usage with the official [documentation](https://nsquaredlab.github.io/MyoVerse/).

# 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

MyoVerse automatically installs with the correct PyTorch version for your platform.

### Basic installation:

```bash
# Install from PyPI
pip install myoverse
```

This will automatically:
- On Linux: Install PyTorch and TorchVision from PyPI (with CUDA support)
- On Windows: Install PyTorch and TorchVision with CUDA 12.4 support

## Development

For development, install the dev dependencies:

1.  **Clone the Repository:**
    ```bash
    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](https://github.com/astral-sh/uv).
3.  **Set up Virtual Environment & Install Dependencies:** Simply run:
    ```bash
    uv sync --group dev
    ```

> [!NOTE]
> The project is configured to automatically install:
> - On Linux: Standard PyTorch with CUDA from PyPI
> - On Windows: PyTorch with CUDA 12.4 support from the PyTorch custom index

## 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.
