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

Gaussian fitting formula function #2

Open
shroffk opened this issue Sep 12, 2014 · 2 comments
Open

Gaussian fitting formula function #2

shroffk opened this issue Sep 12, 2014 · 2 comments

Comments

@shroffk
Copy link
Contributor

shroffk commented Sep 12, 2014

Request from IHEP for a Gauss Fitting function as:
f(x) = a e^{-(x-b)^2/c^2}
that a is a,b,c are tune able parameters.

gaussfit(VDouble x, VDouble a, VDouble b, VDouble c) : VDouble result

@gcarcassi
Copy link
Contributor

I don't think you have that right: that's just creating a gaussian. A gaussian fit gets the data and returns the parameters of the gaussian.

@ksdj
Copy link

ksdj commented Sep 26, 2014

Yes, here is just for the Gaussian Function .Maybe the fitting can be done elsewhere,for generating the a,b,c and passing them here?

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

3 participants