The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Gaussian fitting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

labjunkie

USA
4 Posts

Posted - 10/14/2020 :  06:16:26 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I am new to this origin software and struggling to fit a histogram using Gaussian function. I will appreciate if somebody can please explain me how to fit the curve. I have attached the data to fit and an example how I want the data to fit.
Thank you
https://my.originlab.com/ftp/forum_and_kbase/Images/origin-gaussian%20fit.txt

Edited by - labjunkie on 10/14/2020 06:22:26 AM

Shirley_GZ

China
Posts

Posted - 10/14/2020 :  06:30:21 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi labjunkie,

Maybe you can refer to this tutorial,
https://www.originlab.com/doc/Tutorials/MultiFittedCurve-in-Histogram

Please let us know if any problem.

Thanks,
Shirley

Originlab Technical Service Team
Go to Top of Page

labjunkie

USA
4 Posts

Posted - 10/14/2020 :  06:49:29 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you very much for your reply.

I tried using the method you are talking about it just says
"Fit did not converge. Maximum iteration setting of 400 was reached."

Please let me know if you can suggest what I can do.

quote:
Originally posted by Shirley_GZ

Hi labjunkie,

Maybe you can refer to this tutorial,
https://www.originlab.com/doc/Tutorials/MultiFittedCurve-in-Histogram

Please let us know if any problem.

Thanks,
Shirley

Originlab Technical Service Team



as
Go to Top of Page

Chris D

428 Posts

Posted - 10/14/2020 :  09:49:14 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,
First- failure to converge does not mean a bad fit. You could very well decide that the fit is good enough at any time- it can be very subjective.

That being said, you can increase the number of allowed iterations in the NLFit dialog (access it via Change Parameters from the green lock icon).

In the dialog, select the "Settings" tab and then "Advanced". On the right side of the dialog, you will see a control group entitled "Fit Control". Expand it and you will see controls that allow you to change both number of iterations and tolerance.

Perhaps increasing the number of iterations or playing with the tolerance will help your fit.

Thanks,
Chris Drozdowski
Originlab Technical Support
Go to Top of Page

labjunkie

USA
4 Posts

Posted - 10/14/2020 :  10:23:20 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you very much for your reply Chris.
I tried as you suggested. It doesn't give that message any more.

However, I have two quick questions
As my x axis is based on log 10 scale, do I need to change anything about in the formula for derived parameters, like xc= 10^xc.

And second question is that how can I get a curve like gaussian fitting as shown in the image I have attached the blue and red curve fitting.

I really appreciate your help.
quote:
Originally posted by Chris D

Hi,
First- failure to converge does not mean a bad fit. You could very well decide that the fit is good enough at any time- it can be very subjective.

That being said, you can increase the number of allowed iterations in the NLFit dialog (access it via Change Parameters from the green lock icon).

In the dialog, select the "Settings" tab and then "Advanced". On the right side of the dialog, you will see a control group entitled "Fit Control". Expand it and you will see controls that allow you to change both number of iterations and tolerance.

Perhaps increasing the number of iterations or playing with the tolerance will help your fit.

Thanks,
Chris Drozdowski
Originlab Technical Support




as
Go to Top of Page

Chris D

428 Posts

Posted - 10/14/2020 :  11:14:30 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

You need to create a custom fitting function to deal with the fact that your X data is logarithmic.

If you will send us the simplest project with data and a graph, we can help create the fitting function. Send it to tech@originlab.com


Thanks,
Chris Drozdowski
Originlab Technical Support
Go to Top of Page

labjunkie

USA
4 Posts

Posted - 10/14/2020 :  11:56:22 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you again Chris! Just sent the data to you. Please let me know if you received it.

quote:
Originally posted by Chris D

Hi,

You need to create a custom fitting function to deal with the fact that your X data is logarithmic.

If you will send us the simplest project with data and a graph, we can help create the fitting function. Send it to tech@originlab.com


Thanks,
Chris Drozdowski
Originlab Technical Support




as
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000