#PDKIT
Example how to use pdkit to calculate Tremor amplitude and frequency:
>>> import pdkit >>> tp = pdkit.TremorProcessor() >>> ts = pdkit.TremorTimeSeries().load(filename) >>> amplitude, frequency = tp.process(ts)where, filename is the data path to load, by default in the cloudUPDRS format.
PDKit can also read data in the MPower format, just like:
>>> ts = pdkit.TremorTimeSeries().load(filename, 'mpower')where, filename is the data path to load in mpower format.
To calculate Welch, as a robust alternative to using Fast Fourier Transform, use like:
>>> amplitude, frequency = tp.process(ts, 'welch')
Example how to use pdkit to calculate various Gait features:
>>> import pdkit >>> ts = pdkit.GaitTimeSeries().load(filename) >>> gp = pdkit.GaitProcessor() >>> freeze_times, freeze_indexes, locomotion_freezes = gp.freeze_of_gait(ts) >>> frequency_of_peaks = gp.frequency_of_peaks(ts) >>> speed_of_gait = gp.speed_of_gait(ts) >>> step_regularity, stride_regularity, walk_symmetry = gp.walk_regularity_symmetry(ts)where, filename is the data path to load, by default in the cloudUPDRS format.
Metadata
Release files for pdkit 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pdkit-0.3.3.tar.gz | 17.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pdkit-0.3.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 38.4 kB
Release files / pdkit-0.3.3.tar.gz
| Download URL | pdkit-0.3.3.tar.gz |
|---|---|
| Size | 17.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d04bd33a72def9faf229554b6081a7f96d53c99d19f3ad4baabae9dcfeffbf14
|
|
BLAKE2b-256 checksum How to use checksums |
a167245ab928d2ee903b2f869e087b2fe5e0920c9c37f8ad05b2fe801be11241
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pdkit-0.3.3-py2.py3-none-any.whl
| Download URL | pdkit-0.3.3-py2.py3-none-any.whl |
|---|---|
| Size | 20.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
00bc05fb9f6063d696e594f7d40de38577773f9fe33e566c2c28326ae216c30f
|
|
BLAKE2b-256 checksum How to use checksums |
a240075dba63720a1bfb62562d21ddc90936b1199b30b62cca12db7126458345
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |