Skip to content
New issue

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

FitResults interface #43

Closed
tBuLi opened this issue Dec 17, 2015 · 0 comments
Closed

FitResults interface #43

tBuLi opened this issue Dec 17, 2015 · 0 comments

Comments

@tBuLi
Copy link
Owner

tBuLi commented Dec 17, 2015

The interface for getting value's, stdev and covariance from a FitResults instance should be changed to the following for readability:

(Let a, b be instances of Parameter)

fit_result = fit.execute() # Any FitResults instance

print fit_result.value(a)
>>> 3.0

print fit_result.stdev(a)
>>> 0.5

print fit_result.covariance(a, b)
>>> 0.0

print fit_result.variance(a) 
>>> 0.25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant