Calculate SamEn and ApEn of tremors measured with the KinesiaONE system
The following libraries must be installed (python -r requirements.txt):
pandas
scipy
matplotlib
numpy
sampen
openpyxl
xlrd
Download and install EntroPy as per the link: https://github.com/raphaelvallat/entropy
- Change line 19 to directory of EntroPy
- Change line 27 to "pre" or "post", depending which you data is being analyzed
- Change line 28 to "samen" or "apen", depending which entropy is being calculated
- Run script. Files will be saved in the current directory