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
 Forum for Origin C
 Using Origin v7 with Gaussian functions

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
lsanii Posted - 11/15/2004 : 2:50:00 PM
I have absorbance data with two peaks, and I'm trying to fit the two components to two Gaussians. I've tried just doing analysis->fit guassian and all it does it fit one of the peaks and ignores the other.

I tried doing analysis->fit multi peaks->Guassian but then I don't know how to proceed from here and I can't find anything in the help menus to guide me. Please help!

5   L A T E S T    R E P L I E S    (Newest First)
Laurie Posted - 11/15/2004 : 3:49:53 PM
We got your data...thank you.

In Graph1 of your project, you have two datasets plotted. In order to fit the 2 datasets simultaneously to a gaussian function, you will need to select Analysis:Nonlinear Curve Fit:Advanced Fitting tool.

1. Function:Select will allow you to select the Gaussian function.
2. Action:Dataset will allow you to check the "Fit Multiple Datasets" checkbox, and then assign from Available Datasets the y1, x1 and y2, x2 variables. You can also specify the Parameters to share.
3. Action:Fit to fit the data.

I am also sending you a followup email.

OriginLab Technical Support
lsanii Posted - 11/15/2004 : 3:30:42 PM
Thanks, just sent the data to the address.

easwar Posted - 11/15/2004 : 3:25:21 PM
Hi,

Please send the data/OPJ to tech@originlab.com and in your e-mail refer to this forum post.

Easwar
OriginLab

lsanii Posted - 11/15/2004 : 3:16:50 PM
Yes, I am seeing the secondary dialog boxes but getting confused on what to do. Maybe there isn't enough spetral overlap for the function to work right. Can I send you my data so you can see what I'm talking about?

easwar Posted - 11/15/2004 : 3:05:46 PM
Hi,

Not clear if you are trying to do this manually or programmatically...

If manually, you can invoke the Fit Multi Peaks->Gaussian menu item and then additional dialogs should come up that ask you for how many peaks you have, and an interactive cursor that lets you pick the initial peak position on the graph etc. If you are not seeing the secondary dialogs etc when operating manually, contact tech support to figure out what is going on.

Now, if you are planning to do this programmatically, you need to access the NLSF object and its properties. This can be done via LabTalk script or Origin C. For built-in peak functions such as Gaussian, there is a replicate property that can be used to set the number of replicates (peaks) in your data. You will then need to programmatically assign initial guess values and then do the fit. You can look up the NLSF object under the LabTalk documentation to see what property to set etc.

Easwar
OriginLab



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