Skip to main content

A package for reading track row column (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 track row column (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.2.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

trc_data_reader-0.2.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for trc-data-reader-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3838f9a868f044501e0a8f77f5a67969ebc4d0880c7fe0800ef2b9a11c2f2f60
MD5 9d0123f2d66f13f550e9db14865d1bb4
BLAKE2b-256 f09c0873cb8f54674ff916ac4e05b4146cb2714efb7263baccd68886bd90da21

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for trc_data_reader-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 83c3f32c6d819fd36b57aa63cdf129ffc2e73932dd437ded13a44dd6fecd0c9d
MD5 86b8ded11c124e41ed7bcb623285a2f8
BLAKE2b-256 9c632d0fd626c1ac20f34eaed13647ae7ce04dac7505f661134fff06be378ea3

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