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 for Programming
 LabTalk Forum
 How can build second gaussian?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

zmo

Russia
Posts

Posted - 05/26/2006 :  11:52:17 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 6.1
Operating System: winXP

Hello,

I want to know how can build second gaussian (with width 2.0) with given datas. Please see given datas in the following link

http://zmo.pochta.ru/Origin/

Thanks.

Mike Buess

USA
3037 Posts

Posted - 05/26/2006 :  4:28:38 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Running Analysis > Fit Gaussian on Graph1 in your project gives the following Results Log readout...

Gauss fit to Sheet1_B:

Chi^2/DoF 259303.21107
R^2 0.99821

Area Center Width Offset Height
-----------------------------------------
1.847E5 511.00 2.4384 352.62 60436

It sounds like you want a curve with the same Area, Center and Offset but with Width=2.0. Here's how to do that...

1. Restore Sheet1 and select column C.
2. Run Column > Set Column Values.
3. Enter the expression gauss(col(A),352.62,511,2,1.847e5).
4. Click OK.

Details about LabTalk's gauss function are here...

Help > LabTalk > Function Reference > Mathematical Functions > Multi-parameter Functions

Mike Buess
Origin WebRing Member
Go to Top of Page

zmo

Russia
Posts

Posted - 05/27/2006 :  01:41:36 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Dear Mr.Mike Buess,

Thanks a lot. I want a curve with the same area and center with other width. Now it's ok.


Best Regards,
ZMO
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