Skip to main content

Python module for reading GT3X/AGDC file format data

Project description

pygt3x

Tests

Python module for reading GT3X/AGDC file format data generated by ActiGraph devices.

Example Usage

To read calibrated accelerometer data, you can use the code snippet below:

from pygt3x.reader import FileReader
from pygt3x.calibration import CalibratedReader

# Read raw data and calibrate
# Dump to pandas data frame
with FileReader("FILENAME") as reader:
    calibrated_reader = CalibratedReader(reader)
    df = calibrated_reader.to_pandas()
    print(df.head(5))

If your AGDC file contains temperature data, you can read it using:

from pygt3x.reader import FileReader
from pygt3x.calibration import CalibratedReader

with FileReader("FILENAME") as reader:
    calibrated_reader = CalibratedReader(reader)
    df = calibrated_reader.temperature_to_pandas()
    print(df.head(5))

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

pygt3x-0.3.7.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

pygt3x-0.3.7-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file pygt3x-0.3.7.tar.gz.

File metadata

  • Download URL: pygt3x-0.3.7.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Darwin/22.1.0

File hashes

Hashes for pygt3x-0.3.7.tar.gz
Algorithm Hash digest
SHA256 eb406aad7302a513bfa8349163efe352898d78dca38d3cc9609a81762456fb95
MD5 2142a2733d949cebb11e654009c9211b
BLAKE2b-256 2d60f32e8710007648b3f4ef33ee657b097079337a5f4b3f9216f3cc1c2654a2

See more details on using hashes here.

File details

Details for the file pygt3x-0.3.7-py3-none-any.whl.

File metadata

  • Download URL: pygt3x-0.3.7-py3-none-any.whl
  • Upload date:
  • Size: 21.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Darwin/22.1.0

File hashes

Hashes for pygt3x-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 9738b099bda021eafcfdf6d6545c878e84818d545f5f50fa2379ac95fb4cdde4
MD5 7729f008024aff18755d3bdaff41525f
BLAKE2b-256 7ae9ce410547d64a04a658055a2b6c38ac661ca4108954efbcaa3d2d42cfcc17

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