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
 Origin Forum
 curve fitting two voigts

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
nbo10 Posted - 01/07/2009 : 10:24:16 AM
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.
2   L A T E S T    R E P L I E S    (Newest First)
larry_lan Posted - 01/08/2009 : 09:48:39 AM
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.
VincentLiu Posted - 01/08/2009 : 04:43:25 AM
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

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