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 for Programming
 LabTalk Forum
 Fitting with an Asymmetric Gaussian

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
pb Posted - 12/13/2006 : 08:39:52 AM
Origin Version: 6.0 or 7.5 SR1
Operating System: Windows XP Pro

Hi,
I need to fit some data with an asymmetric Gaussian profile.
I have tried defining my own function in the non linear curve fit panel,

if x<xc
y=(A1/(w1*sqrt(PI/2)))*exp(-2*((x-xc)/w1)^2);
else
y=(A2/(w2*sqrt(PI/2)))*exp(-2*((x-xc)/w2)^2);

however, there is discontinuity in xc. In the constraint panel I have tried imposing that the max of the two gaussians has to be the same

(A1/(w1*sqrt(PI/2)))=(A2/(w2*sqrt(PI/2)));

but the constraint was not accepted (may be it has to be linear?)

Could you please help me to solve this discontinuity problem?

Many thanks

paola
3   L A T E S T    R E P L I E S    (Newest First)
SvenP Posted - 08/26/2010 : 06:03:55 AM
quote:
Originally posted by Mike Buess

Hi Paolo,

Tutorial 11 > Defining a New Fitting Function describes specifically how to define the Asymmetric Gaussian.

Mike Buess
Origin WebRing Member

Where can I find this?
pb Posted - 12/13/2006 : 12:17:32 PM
Many thanks Mike !
Paola
Mike Buess Posted - 12/13/2006 : 09:13:32 AM
Hi Paolo,

Tutorial 11 > Defining a New Fitting Function describes specifically how to define the Asymmetric Gaussian.

Mike Buess
Origin WebRing Member

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