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
 Fit Multiple Peak
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Bill Choi

Hong Kong
Posts

Posted - 10/20/2006 :  01:41:45 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi all,

Can I increase the number of points of fitted curves in multiple peak fitting? Becuase I hope the fitted curves can be represented in scatter plot while the real curve in solid line. Thanks!


Bill.

zachary_origin

China
Posts

Posted - 10/20/2006 :  06:22:53 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Bill,

It seems that you are using the tools under Analysis: Fit Multi_Peaks and you got the fitted data with 60 points. Is that right? Then you have the following choices:

> Still using this tool, but you need do some changes to fit.ogs in origin system folder. You can hold on SHIFT+CTRL and then select Analysis: Fit Multi_Peaks: Gaussian, then fit.ogs will be opened in the code builder. In [FitNPeaks] section, add line nlsf.xPoints = 100; above the line of run.section(,WeightAsError); where 100 is the number of points you needed, and then CTRL+S to save the changes. Now run that tool again, you will get the fitted curves with the number you setted. Remember to change it back by commenting it out after the session.

> You can use Advanced Fitting Tool to fit the peaks. Select Analysis: Non-linear Curve Fit: Advaned Fitting Tool in the menu to open NonLinear Curve Fitting dialog. Then using this tool to fit with multiple peaks, see here for how to do the fitting. After fitting converged, before click Done, go to Scripts: After Fit and select the Same X as Fitting Data checkbox in the Fit Curve section. Then going back to Action: Fit and click Done, you will get it.

> You can use Peak Fitting Module if you are a pro user. The fitted curve has the same number of points as the original curve.

Zachary
OriginLab Technical Services.
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