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
 User defined fit function to python code
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

kosmosisy

Denmark
5 Posts

Posted - 03/27/2023 :  06:08:26 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 2023
Operating System: Win10

Hello, is it possible to build a python code from a user defined nonlinear labtalk expression with all the parameters e.g. constraints? I am asking this because I am not able re-produce the perfect fit quality and values I obtained in OriginLab compared to both python and MATLAB.

Best

YimingChen

1651 Posts

Posted - 03/27/2023 :  09:10:18 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
There is no way to generate Python code for the LabTalk function. The discrepancy of the fitting result could be due to other reasons, such as the fitting converging to a local minimum.
https://www.originlab.com/doc/Origin-Help/The_Reason_Why_Fail_to_Converge#Relative_vs_absolute_minima

James
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