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
NoneRelease 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.17.tar.gz
(13.0 kB
view hashes)
Built Distribution
pdkit-0.2.17-py2.py3-none-any.whl
(18.0 kB
view hashes)
Close
Hashes for pdkit-0.2.17-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c419ba122904d79202ad807acdb76688520039fdebdb72795d3b5de65973a1a |
|
MD5 | 2ec22d8c3d9e63a6fe66323c500f993e |
|
BLAKE2b-256 | 482b5a26e54d89d30ece1cbc4b3b2c97a797942ecbd4142531db22f8c2922d8b |