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.0.tar.gz
(19.8 kB
view details)
Built Distribution
pygt3x-0.3.0-py3-none-any.whl
(20.7 kB
view details)
File details
Details for the file pygt3x-0.3.0.tar.gz
.
File metadata
- Download URL: pygt3x-0.3.0.tar.gz
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.1 CPython/3.8.10 Linux/5.15.0-1017-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be002f2fb67c2a4a1ea4c8a18c5a0a4c9160d0d9148b749c2a942e4f9f63e18b |
|
MD5 | 199069825c09defa780ec00abcd0fa1f |
|
BLAKE2b-256 | d2093d798ca957c81b199714fbf3ca5c238b4b5ef7a030bcc8d5bc0d6f0b3f24 |
File details
Details for the file pygt3x-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: pygt3x-0.3.0-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.1 CPython/3.8.10 Linux/5.15.0-1017-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dd44eff4fb60d64c25c6f279e9e445d9ca3327abd0a042082d4652dae8636d0 |
|
MD5 | 8443ecab4ac3f8181106cf7903922c26 |
|
BLAKE2b-256 | 712085e117b5038d302b1ac35dc9c5a434c4fc4ee7c2f7ee41829347e8ce94ef |