#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.17
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.17.tar.gz | 13.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pdkit-0.2.17-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 31.0 kB
Release files / pdkit-0.2.17.tar.gz
| Download URL | pdkit-0.2.17.tar.gz |
|---|---|
| Size | 13.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
305c367c5e213f4d0afdac6f370cdd3f9d447874aa37dffd81a92e0225a8d5bb
|
|
BLAKE2b-256 checksum How to use checksums |
be78fe79f804e87ceeacfa19bc23f035bd3e4a9da55a50831aec8c4cf904ab3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pdkit-0.2.17-py2.py3-none-any.whl
| Download URL | pdkit-0.2.17-py2.py3-none-any.whl |
|---|---|
| Size | 18.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0c419ba122904d79202ad807acdb76688520039fdebdb72795d3b5de65973a1a
|
|
BLAKE2b-256 checksum How to use checksums |
482b5a26e54d89d30ece1cbc4b3b2c97a797942ecbd4142531db22f8c2922d8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |