Skip to main content

Load data from NDI Optotrak sensors.

Project description

Read data exported from NDI First Principles. Only tested for use with Optotrak sensors.

Installation

Pip:

pip install optotrak

Conda:

conda install -c otaithleigh optotrak

Usage

Read the example file into a pandas DataFrame:

>>> from optotrak import load_optotrak
>>> load_optotrak('test_optotrak.tsv')
                      x           y            z
Frame Name
1     Beam1  486.618958 -560.735657 -2618.344971
      Beam2  349.383820 -561.470093 -2552.003174
2     Beam1  486.617706 -560.736206 -2618.349365
      Beam2  349.381195 -561.467651 -2551.989258
3     Beam1  486.620819 -560.732178 -2618.347412
      Beam2  349.382477 -561.469910 -2551.998535
4     Beam1  486.624023 -560.735962 -2618.353760
      Beam2  349.385376 -561.468994 -2551.997070
5     Beam1  486.622925 -560.734924 -2618.353760
      Beam2  349.384094 -561.467957 -2551.995605
6     Beam1  486.618439 -560.733887 -2618.344971
      Beam2  349.382568 -561.467041 -2551.992432
7     Beam1  486.617798 -560.736206 -2618.344238
      Beam2  349.382965 -561.469482 -2551.994141
8     Beam1  486.620270 -560.736145 -2618.348877
      Beam2  349.382446 -561.466797 -2551.987305
9     Beam1  486.622437 -560.734375 -2618.348389
      Beam2  349.384796 -561.470032 -2551.996826
10    Beam1  486.623932 -560.736755 -2618.351318
      Beam2  349.382874 -561.468628 -2551.993896

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

optotrak-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

optotrak-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file optotrak-0.1.0.tar.gz.

File metadata

  • Download URL: optotrak-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 CPython/3.9.12

File hashes

Hashes for optotrak-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8b4ed9e7af2b42c0fa68efdc66682b0675c863d610fb41dade8d02e6585fbbe0
MD5 daa279ad90ae37367d26d0ab42d4b35d
BLAKE2b-256 eacfccd609541540dce043b4a62d062846b4c39818d1a7a93a47c3668170ea92

See more details on using hashes here.

File details

Details for the file optotrak-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: optotrak-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 CPython/3.9.12

File hashes

Hashes for optotrak-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 82c02ba44f764b3e4b41ea0f09788c6cd01307b2e9d745fef51855af3b40fe42
MD5 a4ba453bce6ba95670e961939cb4e13a
BLAKE2b-256 0868bdddfe532baf7663e435cda36457aee68aa59e74e913478d2e69f5bddc20

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