Skip to main content

Import data from Qualisys Track Manager into pandas.

Project description

Travis-CI Build Status
Coverage Status
PYPI Package
License

Load data from a .txt file exported from QTM into pandas:

pip install qualisys
In [1]: from qualisys import load_qtm_data

In [2]: data, metadata = load_qtm_data('example_data.txt')

In [3]: metadata
Out[3]:
{'analog_frequency': 0,
 'description': '--',
 'events': [],
 'no_of_frames': 720,
 'pc_on_time': 912.56663253,
 'no_of_cameras': 7,
 'marker_names': ['RIGHT_KNEE', 'right_ankle'],
 'frequency': 120,
 'no_of_markers': 2,
 'no_of_analog': 0,
 'data_included': '3D',
 'time_stamp': numpy.datetime64('2014-06-17T08:53:44-0400')}

In [4]: data
Out[4]:
<class 'pandas.core.panel.Panel'>
Dimensions: 2 (items) x 720 (major_axis) x 3 (minor_axis)
Items axis: RIGHT_KNEE to right_ankle
Major_axis axis: 0.00833 to 6.0
Minor_axis axis: x to z

In [5]: data['right_ankle'].head()
Out[5]:
dim             x         y        z
t
0.00833  1501.102  2073.985  102.815
0.01667  1501.187  2074.183  103.058
0.02500  1501.052  2073.905  102.775
0.03333  1501.557  2073.970  103.195
0.04167  1501.425  2073.629  102.974

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-qualisys-0.2.0.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file python-qualisys-0.2.0.tar.gz.

File metadata

File hashes

Hashes for python-qualisys-0.2.0.tar.gz
Algorithm Hash digest
SHA256 93e429b7109ab16eb569b919ad9c6ee687c27f2c7beb54d3d54029ae388c2c0f
MD5 4b982fd227518d2cce3ac8a6c32d80b0
BLAKE2b-256 0ee0a3e50e68b801c75a74f25dd91eea4ebb860823bcc5c6b03bf2f1b5c5ea88

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page