We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In line 136 of analyse.py should be something like
bi = lambda x: numpy.interp(x*b[-1,0], b[:,0], b[:,1], left=b[0,1], right=b[-1,1])
instead of
bi = lambda x: numpy.interp(x, b[:,0], b[:,1], left=b[0,1], right=b[-1,1])
The text was updated successfully, but these errors were encountered:
I guess the assumption is that the first column sums to 1 accurately. Are you having an issue? Can you create a simple test problem?
Sorry, something went wrong.
b[:,0] = b[:,0].cumsum() / b[:,0].sum()
is another solution I guess
No branches or pull requests
In line 136 of analyse.py should be something like
bi = lambda x: numpy.interp(x*b[-1,0], b[:,0], b[:,1], left=b[0,1], right=b[-1,1])
instead of
bi = lambda x: numpy.interp(x, b[:,0], b[:,1], left=b[0,1], right=b[-1,1])
The text was updated successfully, but these errors were encountered: