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.5.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

pygt3x-0.3.5-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygt3x-0.3.5.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.8.10 Linux/5.15.0-1020-azure

File hashes

Hashes for pygt3x-0.3.5.tar.gz
Algorithm Hash digest
SHA256 3abf307caad08311a83b6c8bbd10f31771481d65553426faf3371a58d416321a
MD5 fedaab4b16bf04625ebfb964c517332e
BLAKE2b-256 827f4c108265ac115f19988493f1a1684994478c71883accfbfea8f7063aa9bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygt3x-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.8.10 Linux/5.15.0-1020-azure

File hashes

Hashes for pygt3x-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 65f4c00d90216346e552b9c883bfdbfd1d71db1732e68c05a15cf8aa6beb574a
MD5 90b1a188e7879ae60d5163caff10a663
BLAKE2b-256 ded59149c8c015ccc28cffb476bdc6108a9527d660fd4b1b8e9310f97f3f0a63

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