Skip to content
forked from actigraph/pygt3x

Python module for reading GT3X/AGDC file format data

License

Notifications You must be signed in to change notification settings

claaslendt/pygt3x

 
 

Repository files navigation

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))

About

Python module for reading GT3X/AGDC file format data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Makefile 0.4%