#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.16
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.16.tar.gz | 9.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pdkit-0.2.16-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 27.4 kB
Release files / pdkit-0.2.16.tar.gz
| Download URL | pdkit-0.2.16.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
761daaf5e91accfad7b6a0d90dd69e10ec42f7322a8e877205f2ad380e2aa0e2
|
|
BLAKE2b-256 checksum How to use checksums |
785dac266ccbe52c324c9b0d62a5246d8a7c27abfa7167f5c25662320b6a1f61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pdkit-0.2.16-py2.py3-none-any.whl
| Download URL | pdkit-0.2.16-py2.py3-none-any.whl |
|---|---|
| Size | 18.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
38b43369df8cecf25491e640af63882c64eb661beed0a9a4453a633966f4393d
|
|
BLAKE2b-256 checksum How to use checksums |
ae7960c88aad4a68b9dd90fa730c0291831d5f100ff291839346fc2a1b20814e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |