Skip to main content

A package for reading trc motion capture data.

Project description

https://img.shields.io/badge/license-Apache%202-yellow https://badge.fury.io/py/trc-data-reader.svg https://github.com/hsorby/trc-data-reader/workflows/trc-data-reader/badge.svg https://raw.githubusercontent.com/hsorby/badges/master/trc-data-reader/coverage.svg

Python package for reading trc motion capture data. TRC data reader captures the motion capture data and puts it into a dict like object.

TRC data reader can read motion capture data from file or from a multi-line string.

For a valid trc file or multi-line data string the following keys will be present (among others):

  • FileName

  • DataFormat

  • Markers

  • DataRate

  • NumFrames

  • NumMarkers

Usage

from trc import TRCData

mocap_data = TRCData()
mocap_data.load('/path/to/file/')

num_frames = mocap_data['NumFrames']

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

trc-data-reader-0.1.5.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

trc_data_reader-0.1.5-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file trc-data-reader-0.1.5.tar.gz.

File metadata

  • Download URL: trc-data-reader-0.1.5.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for trc-data-reader-0.1.5.tar.gz
Algorithm Hash digest
SHA256 cd319141e9ca537ff0a58aa409a756f855d7fb3ba0549b0ff3e149b6bc91aa41
MD5 1f18e1840023a9fe57e8c07e56d282e0
BLAKE2b-256 be1f2f9b6122d9836fd3f6fc77e9d705ce7593333c20339aaa866a70df0bbbe7

See more details on using hashes here.

File details

Details for the file trc_data_reader-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: trc_data_reader-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for trc_data_reader-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3e49a56d3402c88711b2b3e2e4d9eda5e5d04185cba01ab704898ce77df90d34
MD5 b05bb3460798fa24cd3c17d2291b517f
BLAKE2b-256 f9d8c1e2702378f81c1fa0d2a657928b79b6daafc08f0c3b3172961f0a96d7ee

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