Parkinson`s Disease Kit
Project description
#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')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pdkit-0.2.15.tar.gz
(8.6 kB
view hashes)
Built Distribution
pdkit-0.2.15-py2.py3-none-any.whl
(17.1 kB
view hashes)
Close
Hashes for pdkit-0.2.15-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaba38aa3912381b2a2b9d540643cb343a21ca884134bc1dcffebc12b0848aab |
|
MD5 | e80bfa2e6a7cc3401f6a78b3ce34c1be |
|
BLAKE2b-256 | 7794c801f55f02abba9d30b4049630971795db65d93493a7545363484b70bbda |