keyinst / keypy

Python library for EEG preprocessing, analysis (microstates, spectra) and statistics
Other
18 stars 14 forks source link

nanmean from scipy.stats #2

Closed jajcayn closed 7 years ago

jajcayn commented 7 years ago

Dear keypy author(s),

in microstates/parameters.py and microstates/parameters_provider.py you are trying to import nanmean from scipy.stats, but in newer version of scipy, the nanmean function is deprecated and is provided by numpy package. Hence, when I install your package, I need to manually rewrite the two mentioned files to: from numpy import sqrt, nanmean

could you change the code?

thanks a lot! Best,

nikola