Yet Another MotionSenSE Service Utility
Project description
title: YAMS emoji: 🍠 colorFrom: purple colorTo: purple sdk: gradio sdk_version: 5.15.0 app_file: yams/main.py pinned: false license: mit
YAMS
Yet Another Motionsense Service utility
Code | PyPI | 🤗 Demo (UI only)
Quickstart
Pre-compiled version
- Download the latest release from here
Development
- (optional) create a dedicated conda environment
conda create -n yams python=3.12conda activate yams
- Clone this repository
git clone https://github.com/SenSE-Lab-OSU/YAMS.gitcd yams
- Install dependencies
pip install -r requirements.txt
- Config
liblslconda install -c conda-forge liblsl
- Lauch YAMS
python -m yams
(Deprecated) Windows
Python 3.12 or newer is needed
- Download setup scripts
- Download the scripts/windows folder and save it in your desired folder
- Run the installation script
- Run the script by double-click the
install.batfile - The script will perform any necessary setup
- Run the script by double-click the
- Start the app
- by double-click the
start_yams.batfile - Once the initialization is completed, you will see a messge similar to:
* Running on local URL: http://127.0.0.1:7860
- by double-click the
- Access the application
- Open a web browser and navigate to http://127.0.0.1:7860 or the URL displayed in the prompt.
(Deprecated) MacOS / Linux
- Download scripts/unix to a desired location
- Run
run.shto install and start the app
General usage
Download onboard data
Refer to Extract onboard data
Extract raw data
Refer to Data Extraction Feature
Emergency stop
Terminating data collection is also available in YAMS web app under
bluetooth scanner - collection control - stop
To halt all on-going collection on the MotionSenSE wristbands,
- On windows, go to your folder where the setup scripts are located as in Quickstart-Windows part
- Locate and double-click
emergency_stop.bat - Wait until all operations are completed
Installation
pip install -U yams-utilpython -m yams
Development guide
- Clone the repository
git clone https://github.com/SenSE-Lab-OSU/YAMS.git
- Install dependencies
pip install -r requirements.txt
- Launch the application
python -m yams
- Visit http://127.0.0.1:7860 (by default, check on-screen prompt)
Build guide
- Install pyinstaller via
pip install pyinstaller - Create .spec by
pyi-makespec --collect-data=gradio_client --collect-data=gradio --collect-data=safehttpx --collect-data=groovy --onefile app.py - Manually add the following in
a = analysis ...
module_collection_mode={
'gradio': 'py', # Collect gradio package as source .py files
},
- Build the app:
pyinstaller app.spec
MacOS
pyi-makespec --collect-data=gradio_client --collect-data=gradio --collect-data=safehttpx --collect-data=groovy --onefile --osx-bundle-identifier 'com.yams' --icon yams/resources/icons/yams.icns app.py
Roadmap
- Device data transfer
- Device data post processing
- format conversion
- visualization
- simple data collection utilities
- LSL support
- Auto reconnect
- Selected file download
- Advanced device monitoring [ ] global state: active connection, active outlet, ctl status [ ] BAT monitoring [ ] storage monitoring
Acknowledgement
- Conceptualization: MPADA
- BT control adapted from MotionSenseHRV-BioImpedance-Interface .
- icon designed by Mihimihi
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 yams_util-1.2.1.tar.gz.
File metadata
- Download URL: yams_util-1.2.1.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
744c66abee57405176d7d5e172cf15a9599d154cea84a83fb5d139e2789d881d
|
|
| MD5 |
bb5fa134c7b5201dfceafd4c75744dcc
|
|
| BLAKE2b-256 |
a74279dbd52e5597de23d89fc3933b3e1174dbae818b9f0258dc0c979956d269
|
Provenance
The following attestation bundles were made for yams_util-1.2.1.tar.gz:
Publisher:
python-publish.yml on SenSE-Lab-OSU/YAMS
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yams_util-1.2.1.tar.gz -
Subject digest:
744c66abee57405176d7d5e172cf15a9599d154cea84a83fb5d139e2789d881d - Sigstore transparency entry: 245964405
- Sigstore integration time:
-
Permalink:
SenSE-Lab-OSU/YAMS@cbd01a77a5baefa47c06df5161c5e95d7cd44e2b -
Branch / Tag:
refs/tags/v1.2.1 - Owner: https://github.com/SenSE-Lab-OSU
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@cbd01a77a5baefa47c06df5161c5e95d7cd44e2b -
Trigger Event:
release
-
Statement type:
File details
Details for the file yams_util-1.2.1-py3-none-any.whl.
File metadata
- Download URL: yams_util-1.2.1-py3-none-any.whl
- Upload date:
- Size: 23.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c580111aa003c74e41a5eaac75aadab27772024931a08a9141b496ffce190ac4
|
|
| MD5 |
cdd72325ec856309dd84bfead81a088a
|
|
| BLAKE2b-256 |
149cd6f6ec3fc00831a9b5e5a9a5ab366ae93b4da452bbabebf573d8085d4e9e
|
Provenance
The following attestation bundles were made for yams_util-1.2.1-py3-none-any.whl:
Publisher:
python-publish.yml on SenSE-Lab-OSU/YAMS
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yams_util-1.2.1-py3-none-any.whl -
Subject digest:
c580111aa003c74e41a5eaac75aadab27772024931a08a9141b496ffce190ac4 - Sigstore transparency entry: 245964408
- Sigstore integration time:
-
Permalink:
SenSE-Lab-OSU/YAMS@cbd01a77a5baefa47c06df5161c5e95d7cd44e2b -
Branch / Tag:
refs/tags/v1.2.1 - Owner: https://github.com/SenSE-Lab-OSU
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@cbd01a77a5baefa47c06df5161c5e95d7cd44e2b -
Trigger Event:
release
-
Statement type: