Python package of the Oxynet project
Project description
Pyoxynet
Automatic interpretation of cardiopulmonary exercise test (CPET) data using deep learning.
Pyoxynet is a Python package for automated CPET analysis using AI models. Part of the Oxynet project for universal access to quality healthcare.
Key Features:
- 🔬 AI-powered inference - Automatically estimate exercise intensity domains
- 🎲 Synthetic data generation - Create realistic CPET data with conditional GANs
- ⚡ Lightweight deployment - TFLite support with ~90% smaller footprint
- 📊 Model explainability - SHAP integration for understanding predictions
📚 Documentation | 🌐 Web App | 💻 GitHub
Installation
Requirements: Python 3.10+ and NumPy < 2.0
# Lite version (recommended) - Core functionality
pip install pyoxynet
# TFLite version - Adds lightweight model inference
pip install "pyoxynet[tflite]" --extra-index-url https://google-coral.github.io/py-repo/
# Full version - Complete TensorFlow support
pip install "pyoxynet[full]"
NumPy compatibility: If you encounter NumPy 2.x issues with TFLite, install: pip install "numpy<2"
Quick Start
import pyoxynet
# Load model and run inference on sample data
model = pyoxynet.load_tf_model(n_inputs=5, past_points=40, model='CNN')
pyoxynet.test_pyoxynet(model)
# Generate synthetic CPET data
generator = pyoxynet.load_tf_generator()
df = pyoxynet.generate_CPET(generator, plot=True)
Required data: VO2, VCO2, VE, PetO2, PetCO2 (sampled at 1-second intervals)
Resources
- 📖 Documentation - Complete API reference and examples
- 💻 GitHub - Source code and detailed README
- 🌐 Web App - Try it online
- 🔬 Research Papers - Scientific background
License
MIT License - See LICENSE for details.
Medical Disclaimer
This software is for informational purposes only and is not intended as a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of qualified healthcare providers.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyoxynet-0.1.12.tar.gz.
File metadata
- Download URL: pyoxynet-0.1.12.tar.gz
- Upload date:
- Size: 9.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d3ddf48752426645947710732c1b85f066abc6008375df409e83357531357fb
|
|
| MD5 |
30739499613cce2cf182f554ba074840
|
|
| BLAKE2b-256 |
332ac7ce4aa78964151ab830328546918ae756b4ac6507afa83ff5ecafd2bc9c
|
File details
Details for the file pyoxynet-0.1.12-py3-none-any.whl.
File metadata
- Download URL: pyoxynet-0.1.12-py3-none-any.whl
- Upload date:
- Size: 9.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7517ea2b6aac92fcf1f7fa21d4067f104fc6591adc0c40aacee781f00548808
|
|
| MD5 |
6efc6dee55d05f8c87479cf54c2f82f0
|
|
| BLAKE2b-256 |
bfe675a3d4d5ddc9b8e5a28ed72fca7775a55b77df064dde40ab1c17d99954cb
|