Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Import data from Qualisys Track Manager into pandas.

Project description

Travis-CI Build Status
Coverage Status
PYPI Package

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
{'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
<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()
dim             x         y        z
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.

Files for python-qualisys, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size python-qualisys-0.2.0.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page