#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.14
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.14.tar.gz | 8.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pdkit-0.2.14-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 25.4 kB
Release files / pdkit-0.2.14.tar.gz
| Download URL | pdkit-0.2.14.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3dd6ca3cd37fcadc6748b1263d0dccdd8538735158e96b3de9feb05a5fa25b0
|
|
BLAKE2b-256 checksum How to use checksums |
2612538bb66c83f7160a18071c0b14636896906e82a53b8a0821b99b57497ca6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pdkit-0.2.14-py2.py3-none-any.whl
| Download URL | pdkit-0.2.14-py2.py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
3fe0a874ee40d6e6eaba1ac7c7bc53c41eb54fe22ad4c5e748f0b368b20668e9
|
|
BLAKE2b-256 checksum How to use checksums |
bfc9b9cba4106563262de50765f22d1e5697262ce1ac08688daf03f363efa53c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |