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
 curve fitting two voigts
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

nbo10

USA
Posts

Posted - 01/07/2009 :  10:24:16 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. 8 and SR (Select Help-->About Origin):
Operating System: xp

Hi,
I'm trying to fit a curve with two Voigt functions. I've tried copying the built in Voigt function into a user function but it doesn't compile. Can anyone offer some help.

VincentLiu

China
Posts

Posted - 01/08/2009 :  04:43:25 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi John,

Compared to the user-defined functions, the Built-in functions in Origin 8 are using a different mechanism. So we suggest you to use the fitting function directly or if you want to access the built-in function in other function, you may follow the instructions below:

http://wiki.originlab.com/~originla/howto/index.php?title=QuickHelp:How_to_quote_a_built-in_function_when_defining_a_user-defined_function

If this cannot solve the problem, please state your questions with more details. You may send it through

http://www.originlab.com/www/company/qform.aspx?s=1&

Best regards,
Vincent Liu
OriginLab Technical Services
Go to Top of Page

larry_lan

China
Posts

Posted - 01/08/2009 :  09:48:39 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
If you look into the function defination, you can see there is a "integ", which means integration here. However, "integ" is not a built-in function, and that's why you failed to compile it if you just copy+paste the function body.

Fitting with integration is somewhat complicated for user defined functions. Maybe you can read this first.
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