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
 Import Python Function as User Defined Function
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

eadkins333

USA
1 Posts

Posted - 11/04/2016 :  07:30:08 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

Chris D

428 Posts

Posted - 11/04/2016 :  2:56:13 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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

Edited by - Chris D on 11/04/2016 2:57:12 PM
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