#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')
Metadata
Release files for pdkit 0.2.15
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.2.15.tar.gz | 8.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pdkit-0.2.15-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 25.8 kB
Release files / pdkit-0.2.15.tar.gz
| Download URL | pdkit-0.2.15.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9212ddd04b51642a21855662f8a7e7cc8e05fb8f5c0177261be8a2084c1c5592
|
|
BLAKE2b-256 checksum How to use checksums |
5cdc0244ce4942d6a6f0004fac09e0765fd47b3b77e5a70bf6e8cf16b8d3a090
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pdkit-0.2.15-py2.py3-none-any.whl
| Download URL | pdkit-0.2.15-py2.py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
aaba38aa3912381b2a2b9d540643cb343a21ca884134bc1dcffebc12b0848aab
|
|
BLAKE2b-256 checksum How to use checksums |
7794c801f55f02abba9d30b4049630971795db65d93493a7545363484b70bbda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |