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
 Origin Forum
 Lorentzian
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

espenhjo

Norway
20 Posts

Posted - 05/30/2003 :  03:22:41 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,
When using the NLSF for fitting e.g. a Lorentzian function all the parameters are output with their respective variables. In addition the height of the peak is given automatically in the results log. Is the value of the height associated with any variable name? I want to have access to the height for further calculations.

Regards,
Espen

jonni

United Kingdom
58 Posts

Posted - 05/30/2003 :  05:50:45 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Espen,

From the script window you can get any of the fitting parameters of the Lorentzian (Type "A=" to get the area etc.). From the formula the height is given by 2*A/pi. I do not know if there is a special variable for this but you can define your own with eg.

MyVariable=2*A/pi

Hope this helps!

jonni
Go to Top of Page

espenhjo

Norway
20 Posts

Posted - 05/30/2003 :  06:30:58 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks,
Yes this is indeed one solution to this.

It should be 2*A/(PI*w), shouldn't it?

Espen
Go to Top of Page

jonni

United Kingdom
58 Posts

Posted - 05/30/2003 :  07:05:48 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Espen,

You are probably right, it is a strange version of the formula ... I find it best to define my own, by which you can get the parameters you want!

All the best,

jonni
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