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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qualisys-0.2.0.tar.gz
(3.7 kB
view details)
Built Distribution
File details
Details for the file qualisys-0.2.0.tar.gz
.
File metadata
- Download URL: qualisys-0.2.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bebb5930195821a3d5c6ad556abeca864779686b2b807dcbec0c55d0919ead0 |
|
MD5 | d11cd4d9db6d707e4acd58591192b079 |
|
BLAKE2b-256 | 48bb079b6c1662cb0222679d0141f0cca2032523e0fea0ebfd10542394077d8c |
File details
Details for the file qualisys-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: qualisys-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d054c19a5e47e00d4f2d164dd829c7b4885f0ddc0674523a64d801d7e9e5e89 |
|
MD5 | 1340d78947da967e64dc33f168684d38 |
|
BLAKE2b-256 | d4120e6249ee4f2734e43782a056366dcf2449c158c3cb6758c1614d544c9bc9 |