From 3f33869e1d6700aa48ab7a7e5519537ce8fa05cf Mon Sep 17 00:00:00 2001 From: Kleanthis Avramidis Date: Mon, 6 Apr 2020 23:55:59 +0300 Subject: [PATCH] import bin_power function Call of spectral_entropy function did not recognize bin_power, as it was not included from spectrum.py. --- pyeeg/entropy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyeeg/entropy.py b/pyeeg/entropy.py index ebd4467..bfe7c88 100644 --- a/pyeeg/entropy.py +++ b/pyeeg/entropy.py @@ -1,6 +1,6 @@ import numpy from .embedded_sequence import embed_seq - +from .spectrum import bin_power def ap_entropy(X, M, R): """Computer approximate entropy (ApEN) of series X, specified by M and R.