Python module for reading GT3X/AGDC file format data
Project description
pygt3x
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
Release history Release notifications | RSS feed
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.2.tar.gz
(19.9 kB
view hashes)
Built Distribution
pygt3x-0.3.2-py3-none-any.whl
(20.9 kB
view hashes)