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
 LabTalk Forum
 Import Python Function as User Defined Function

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
eadkins333 Posted - 11/04/2016 : 07:30:08 AM
Hello,

I have a definition in python that I would like to import into Origin to use as a user defined function (for non-linear curve fitting and simulation). Is this something that is possible and if so how would you go about doing it. Thanks in advance for any input!


Origin 2016 and Service Release 2
Operating System: Windows

-eadkins333
1   L A T E S T    R E P L I E S    (Newest First)
Chris D Posted - 11/04/2016 : 2:56:13 PM
Hi,

There is no direct conversion from Python to an Origin fitting function. You will have to do some learning and work, but it isn't difficult.

See the following links for more information:
http://www.originlab.com/doc/Origin-Help/UserDef-FitFunc
http://www.originlab.com/doc/Tutorials/UserDef-FitFunc

BTW: In Origin 2017 (about to be released) defining how to calculate parameter values is much, much easier than in previous versions. So keep an eye out for it's release and update or download a demo to see how it works.

Thanks,
Chris Drozdowski
Originlab Technical Support

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