Read Raw GT3X file
An implementation of extract raw acceleration data from .gt3x files.
This package was extracted and expanded upon from the work of Shaheen Syed and his repositories https://github.com/shaheen-syed/CNN-Non-Wear-Time-Algorithm and https://github.com/shaheen-syed/ActiGraph-ActiWave-Analysis. They are instrumental in this module creation.
The script gt3x_functions.py contains code to extract raw acceleration data from .gt3x files. Each .gt3x file is basically a zip file containing a log.bin and a info.txt file. The log.bin is a binary file which contains the actual acceleration values. The info.txt file contains the meta-data in text form. When the script is executed, it will create a numpy file that contains the raw data and a time vector.
Usage
The gt3x module needs to be first installed. The most up-to-date one is:
pip install --upgrade git+https://github.com/muschellij2/gt3x.git#egg=gt3x
But can also be installed via pip from PyPi:
pip install gt3x
import gt3x
actigraph_acc, actigraph_time, meta_data = gt3x.read_gt3x('AI9_NEO1F16120039_2017-06-27.gt3x')
Installation
pip3 install -r requirements.txt
Release files for gt3x 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gt3x-0.1.1.tar.gz | 10.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gt3x-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.1 kB
Release files / gt3x-0.1.1.tar.gz
| Download URL | gt3x-0.1.1.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14d00f7f0fb8e2e0a9a7fe0f6a20e2bfb75d5bd1bf234a41a6365e76b987b281
|
|
BLAKE2b-256 checksum How to use checksums |
98847b3ba01de50ed3046db05e7c637156ce9d1cfa65d8aedb3bb238f05e2292
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
|
Release files / gt3x-0.1.1-py3-none-any.whl
| Download URL | gt3x-0.1.1-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
64f2421030ba442131abdcb7163db13a5c03f1e8e43c0911a9265b31284d01ff
|
|
BLAKE2b-256 checksum How to use checksums |
2a28f55be892cf0729b6650c9061f67c180cef8ae3b0459bb55a48325482e864
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
|