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
 All Forums
 Origin Forum
 Origin Forum
 Gauusian+Loentzian fit

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
srira Posted - 09/28/2005 : 10:12:33 AM
Origin Version (Select Help-->About Origin): 6.1
Operating System:XP SP2
How do I fit both types of peaks in a spectrum simultaneously?Do I need to specify both equations in NLSF?
2   L A T E S T    R E P L I E S    (Newest First)
srira Posted - 09/29/2005 : 12:25:02 PM
Hi
Thanks!
easwar Posted - 09/28/2005 : 12:09:00 PM
Hi,

You will need to define an new FDF that combines the peak equations. So for example if you have a dataset say with one gaussian peak and one lorentzian peak, you could define the FDF as:

y=gauss(x,y0,xc1,w1,A1) + lorentz(x,y0,xc2,w2,A2);

where y0 is a common offset (does not have to be), and xc1, w1, A1 are parameters for the gaussian and xc2, w2, A2 are parameters for the lorentzian.

Set the Form drop-down on the function definition page to "Y-Script" (in later versions, uncheck the Origin C check box and then change the drop-down).

If you have more than a couple of peaks and want to consider more than just two possible peak functions, the above obviously becomes tedious. Then you may want to look at the Peak Fitting Module in which you can fit much more than two peaks, and also arbitrarily assign different peak functions to each peak in the data etc.

Easwar
OriginLab


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000