A lightweight commandline parser for the MVNX motion capture file format
Project description
mvnx
A lightweight python library for parsing the MVNX motion capture file format.
To run the MVNX parser, create an MVNX object, and run parse_all()
, which will then parse all the modalities into the object's attributes, which you can then access with standard dot notation:
from mvnx import MVNX
mvnx = MVNX('path/to/file.mvnx')
mvnx.parse_all()
mvnx.orientation
mvnx.jointAngle
or you can parse individual modalities (all in camelCase) , as below:
mvnx = MVNX('path/to/file.mvnx')
mvnx.parse_modality('orientation')
mvnx.parse_modality('jointAngle')
mvnx.orientation
mvnx.angularVelocity
Alternatively, you can run from the command line, using the modality of your choice (in this case, jointAngle
):
python3 mvnx.py --file path/to/file.mvnx --modality jointAngle
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
mvnx-0.1.16.tar.gz
(3.7 kB
view details)
Built Distribution
mvnx-0.1.16-py3-none-any.whl
(7.9 kB
view details)
File details
Details for the file mvnx-0.1.16.tar.gz
.
File metadata
- Download URL: mvnx-0.1.16.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c33afac0ba0724af29ce42157d08f2edc37bb4f19d1719441885290f90a207cb |
|
MD5 | 4ef1af1f2239fdbe6b1fce4bdd5bac0b |
|
BLAKE2b-256 | 1902560d364c0b93e6eda79744597342e229ece5a5faa45071020354bfcb73e8 |
File details
Details for the file mvnx-0.1.16-py3-none-any.whl
.
File metadata
- Download URL: mvnx-0.1.16-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9b519d80ee654d29873adf5141557cb182c0c5729e02b5c636af8b988b152e3 |
|
MD5 | 06e0c975e1a64590b17ec595e38c9a9a |
|
BLAKE2b-256 | fb3a3810a42b3b9d777ad6d102dfb4f6eae4edf6734664dc5a55dc4da37856ea |