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

Import data from Qualisys Track Manager into pandas.

Project description

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.head()
Out[4]:
                               right_ankle                     RIGHT_KNEE  \
                                         x         y        z           x
2014-06-17 12:53:44.008329999     1501.102  2073.985  102.815    1440.857
2014-06-17 12:53:44.016669999     1501.187  2074.183  103.058    1440.625
2014-06-17 12:53:44.025000        1501.052  2073.905  102.775    1434.826
2014-06-17 12:53:44.033330        1501.557  2073.970  103.195    1435.092
2014-06-17 12:53:44.041670        1501.425  2073.629  102.974    1435.118


                                      y        z
2014-06-17 12:53:44.008329999  2052.804  474.694
2014-06-17 12:53:44.016669999  2052.820  474.753
2014-06-17 12:53:44.025000     2054.241  482.904
2014-06-17 12:53:44.033330     2051.464  481.212
2014-06-17 12:53:44.041670     2051.504  481.120

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.1.2
Filename, size File type Python version Upload date Hashes
Filename, size python-qualisys-0.1.2.tar.gz (3.3 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