Closed Shibabrat closed 4 years ago
Quite strange that you are getting that error since histogramdd has density as a keyword.
Is your repo matching the GitHub repository?
@fmeirinhos perhaps my local repo was from the time of initial submission and the current version doesn't give me the error. Thanks. fixes #6
from kramersmoyal import km, kernels
In [3]: run ./test/binning_test.py
Binning in 1D: passed
Binning in 2D: passed
Binning in 3D: passed
I ran into the following error while executing one of the tests in test directory. Maybe I'm missing something and the authors can either fix or add instruction to specify usage. Other tests ran just fine.
~/Documents/review-JOSS/KramersMoyal/test/binning_test.py in(.0)
15
16 hist1 = [np.histogramdd(timeseries, bins=bins,
---> 17 weights=w, density=True)[0] for w in weights.T]
18
19 hist2 = histogramdd(timeseries, bins=bins,
TypeError: histogramdd() got an unexpected keyword argument 'density'