Metadata-Version: 2.1
Name: mvnx
Version: 0.1.17
Summary: A lightweight commandline parser for the MVNX motion capture file format
Home-page: https://github.com/alexharston/mvnx
Author: Alex Harston
Author-email: alex@harston.io
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: argparse

# 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:

```python
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`


