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

# Read raw data and calibrate, then export to pandas data frame
with FileReader("FILENAME") as reader:
    was_idle_sleep_mode_used = reader.idle_sleep_mode_activated
    df = reader.to_pandas()
    print(df.head(5))

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

from pygt3x.reader import FileReader

with FileReader("FILENAME") as reader:
    df = 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.6.0.tar.gz (21.6 kB view hashes)

Uploaded Source

Built Distribution

pygt3x-0.6.0-py3-none-any.whl (22.5 kB view hashes)

Uploaded Python 3

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