python-uos-activpal
A python package for working with data from activPAL devices.
Installation
pip install uos_activpal
Documentation
Subpackages
IO
Contains classes and functions for loading activPAL data files. Some modifications to the data files are possible e.g. to change the file code (commonly used as participant ID).
Raw
The module for working with the raw signal data (.dat or .datx files). It should be fast as it uses Numba to JIT compile key functions.
The function load_activpal_data takes the path to a file as the input and returns a tuple containing metadata and a NumPy array with one column for each axis of the sensor.
Call Signature: meta, signals = load_activpal_data(file_path).
The class activpal_data makes it easier to work with the data by providing useful functions as methods.
activpal_data.signals returns a DataFrame containing the signals.
activpal_data.timestamps returns the timestamps.
activpal_data.x returns a the x axis signal as a Series, replace x with y or z for the other axes.
activpal_data.rss returns the root sum of squares of x, y, z.
Call Signature: activpal_data = activpal_data(file_path).
GUI
Contains modules for building GUIs to interact with activPAL data.
Base
A module which contains base classes for GUI application development. The other modules in GUI build upon the base module classes.
Raw Viewer
Contains classes for building applications for viewing the raw data.
The module contains a working example which allows interactively loading data files and inspecting them.
To run this application use: python -m uos_activpal.gui.raw_viewer.
Raw Marker
Contains classes for building applications for marking points in the raw data and saving the sample number and timestamp.
The module contains a working example (screenshot below) which allows interactively loading data files, marking points and saving them to file.
To run this application use: python -m uos_activpal.gui.raw_marker.
Disclaimer
This package is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details. A copy of the General Public License version 2 should be included with this toolbox. If not, see https://www.gnu.org/licenses/gpl-2.0.html.
Metadata
Release files for uos-activpal 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| uos_activpal-0.2.2.tar.gz | 15.5 kB | Without provenance | Details for uos_activpal-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| uos_activpal-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for uos_activpal-0.2.2-py3-none-any.whl |
Total release size: 33.6 kB
Release files / uos_activpal-0.2.2.tar.gz
| Download URL | uos_activpal-0.2.2.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae55adc85366d6ba6fcd1257988f22c7c6c1e598f3b95f4a2b78e669c0172b98
|
|
BLAKE2b-256 checksum How to use checksums |
511cab75ca14475794468779a054799890f098487d300d27bae778d365c8c99b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3
|
Release files / uos_activpal-0.2.2-py3-none-any.whl
| Download URL | uos_activpal-0.2.2-py3-none-any.whl |
|---|---|
| Size | 18.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
41dd6e33f612ab6eabbc9f5cd81e323b405c941228fd7f5b1ce6633bf5fb5baf
|
|
BLAKE2b-256 checksum How to use checksums |
25f1b5105db3d530fda9ccab62a1a1c47c2847ed330cf6b87c627af133e4af20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3
|
Security for uos-activpal 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.