Biokinesis-SDK SDK
Research-grade Python SDK for combined EMG+IMU wearable sensors.
Competes directly with Delsys Trigno — matches or exceeds: 2000 Hz EMG, 9-axis IMU at 148 Hz, 16-bit resolution, configurable bandwidth, bipolar differential EMG, LSL output, multi-format export, up to 16 sensors with hardware sync.
Installation
pip install -e .
Quick Start
from biokinesis_sdk.core.types import SensorConfig, FilterConfig, EMGFrame, IMUFrame
from biokinesis_sdk.orchestrator import Orchestrator
from biokinesis_sdk.export import ExportManager
import numpy as np
# Set up orchestrator with 2 sensors
orch = Orchestrator()
orch.add_sensor(SensorConfig(sensor_id=1, label="Biceps",
filter_config=FilterConfig.standard()))
orch.add_sensor(SensorConfig(sensor_id=2, label="Triceps",
filter_config=FilterConfig.standard()))
# Ingest EMG data
emg_data = np.random.randn(4000) * 500 # 2 seconds at 2 kHz, µV
timestamps = np.arange(4000) * 500.0 # µs timestamps
frame = EMGFrame(sensor_id=1, timestamps_us=timestamps,
data=emg_data, sample_rate=2000.0)
orch.ingest_emg(1, frame)
# Export all formats
data = orch.collect_all_data()
ExportManager.export_all(data, "./output", formats=["csv", "hdf5", "mat"])
Modules
| Module | Description |
|---|---|
biokinesis_sdk.emg.filters |
Butterworth bandpass (20–450 / 10–850 Hz), 50/60 Hz notch filter |
biokinesis_sdk.emg.features |
RMS, MAV, ZCR, iEMG, median/mean frequency, waveform length |
biokinesis_sdk.emg.analysis |
Muscle onset detection, MVC normalization, co-contraction index |
biokinesis_sdk.imu.preprocessing |
Raw unit conversion, calibration, gyro bias estimation |
biokinesis_sdk.imu.fusion |
Quaternion algebra, Madgwick AHRS (6-DOF / 9-DOF) |
biokinesis_sdk.imu.kinematics |
Euler angles, gravity compensation, joint angle estimation |
biokinesis_sdk.orchestrator |
16-sensor manager, µs sync, hardware triggers |
biokinesis_sdk.export |
CSV, HDF5, LSL, MATLAB .mat |
biokinesis_sdk.pipelines |
Gait analysis, fatigue monitoring, prosthetics control |
Running Tests
pip install -e ".[dev]"
python -m pytest tests/ -v
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
biokinesis_sdk-1.0.2.tar.gz
(41.7 kB
view details)
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 biokinesis_sdk-1.0.2.tar.gz.
File metadata
- Download URL: biokinesis_sdk-1.0.2.tar.gz
- Upload date:
- Size: 41.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f96f69df387157852ec6817d740077df2ce99cab9f2b679366fe526a90b1c647
|
|
| MD5 |
d4870d48a035104a05fe2340aeba6161
|
|
| BLAKE2b-256 |
8bc962f4cef523102c609bb01e5a3948b7b77f64f0ecbb9bc9c000a28a03a981
|
File details
Details for the file biokinesis_sdk-1.0.2-py3-none-any.whl.
File metadata
- Download URL: biokinesis_sdk-1.0.2-py3-none-any.whl
- Upload date:
- Size: 43.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12c9c38500577625288994f17f77f7189fff6f74d6294a852b2b7a718bb7e4b8
|
|
| MD5 |
64d74f153b3d66d7d2fac6d946209153
|
|
| BLAKE2b-256 |
48a537e1667abc9372e225e63c10b16282341b947a709f054a0d9580a91733c8
|