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 details)
Built Distribution
pygt3x-0.3.2-py3-none-any.whl
(20.9 kB
view details)
File details
Details for the file pygt3x-0.3.2.tar.gz
.
File metadata
- Download URL: pygt3x-0.3.2.tar.gz
- Upload date:
- Size: 19.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a310a7b43047bcff7553989dd399a66b85baf44625912c980e6cc8f440a2b67b |
|
MD5 | bf79202020a25470e604fc360167aa91 |
|
BLAKE2b-256 | f8fae1bb7d9e8fa66f4eb38ea78497c360b4136d5952d76a060e72d39a359260 |
File details
Details for the file pygt3x-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: pygt3x-0.3.2-py3-none-any.whl
- Upload date:
- Size: 20.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10286d714e2b81b1d20f788c02235e24811519257694a8bca8bbc9136ce96f01 |
|
MD5 | dbdbb1ff38fcca8e60338dd391d53263 |
|
BLAKE2b-256 | 635630be65ebdbfc43d9b9688e24283d8db255f808a94b2d6a888ca569872c82 |