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
 Gaussian fitting with background

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
xchintan Posted - 10/15/2013 : 10:24:34 AM
Origin Ver. and Service Release : OriginPro 9.0.0 SR1
Operating System: Windows 7

Hi,

I am using Peak Analyzer in origin to fit no. of Gaussian peaks in the spectrum. I want to modify the steps of peak analyzer. Or In general, I want to make a new function that is summation of linear function and Gauss function. To get the fits of spectra, I do not want to remove background. So function will take background counts as linear function and peaks as gauss function.

Original Gauss function is,
y=y0 + (A/(w*sqrt(PI/2)))*exp(-2*((x-xc)/w)^2)

I want to modify to y = linear function + Gauss function
y = p0 + p1*x + (A/(w*sqrt(PI/2)))*exp(-2*((x-xc)/w)^2)

where, p0 and p1 is coefficient of linear fitting. (y = a*x+b)

I tried to make in function builder, but could not able to compile it. It gives wrong values.

Help and suggestions would be appreciated !

Best,

chintan
2   L A T E S T    R E P L I E S    (Newest First)
xchintan Posted - 10/17/2013 : 08:09:42 AM
Thank you very much Greg, for your wonderful suggestion.

quote:
Originally posted by greg

Since you have OriginPro you don't need to define such a function because the baseline can be a function which itself is fit along with the peaks.

For "Baseline Mode", choose "User Defined"
Pick two points to approximate your linear baseline
Change "Connect by" to "Fitting(Pro)"
Change Fitting "Function" to "Line"

Origin simultaneously optimizes the baseline linear function along with your peaks.



chintan
greg Posted - 10/15/2013 : 2:56:23 PM
Since you have OriginPro you don't need to define such a function because the baseline can be a function which itself is fit along with the peaks.

For "Baseline Mode", choose "User Defined"
Pick two points to approximate your linear baseline
Change "Connect by" to "Fitting(Pro)"
Change Fitting "Function" to "Line"

Origin simultaneously optimizes the baseline linear function along with your peaks.

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