mvnx
A Python parser for the MVNX motion capture file format (.mvnx)
You can install the library using pip install mvnx
The simplest way to run the tool is in the following way:
from mvnx import MVNX
yourfile = MVNX('path/to/file.mvnx')
This creates an MVNX object, the data in which can then be read using standard Python dot notation, like so:
yourfile.orientation
yourfile.jointAngle
yourfile.angularVelocity
yourfile.segments
yourfile.joints
or you can parse individual modalities (all in camelCase) , as below:
yourfile = MVNX('path/to/file.mvnx')
yourfile.parse_modality('orientation')
yourfile.parse_modality('angularVelocity')
Alternatively, once installed, you can run the tool from the command line, using mvnx.
You can provide mvnx a filepath to your .mvnx file and an output path, and it will read the info into a .npy file
Run it using: mvnx --file path/to/file.mvnx --output /path/to/output.npy
Note: the parser at present is doing no batch processing or multiprocessing when parsing the file into an object - it will read directly into memory, so be careful when parsing larger files as it can put load on your system.
Release files for mvnx 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mvnx-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / mvnx-0.2-py3-none-any.whl
| Download URL | mvnx-0.2-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a5c7a600924a90b16adc36c15f265a0711073a7d813cf730e466b0f422d4eb8
|
|
BLAKE2b-256 checksum How to use checksums |
e3595eea623e32eb0610fbcefc62e5c1bf0324dd4a6361f8c3f2a6d7a8d307a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|