Skip to main content

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.

Source Distribution

python-qualisys-0.1.3.tar.gz (3.3 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for python-qualisys-0.1.3.tar.gz
Algorithm Hash digest
SHA256 fec4f52d336e2424ff8a194cf57d7a2a3a05d410ed137c7da63fc34285c85318
MD5 ad7456af012518e78f64488ae81a58fc
BLAKE2b-256 ca605a814c8f00dc26cad0868e9c86abc9d6e1923b0a33cc826c8172ec422892

See more details on using hashes here.

Supported by

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