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
 A problem of user-defined function fitting

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
hjskofficial Posted - 10/16/2023 : 03:42:27 AM
Origin Ver. and Service Release (Select Help-->About Origin): Origin 2018
Operating System: Windows 10

Hello everyone,

I defined a Fano function for fitting a curve recently. The function is written as y=y0+H*(1+(x-xc)/(q*w))^2/(1+((x-xc)/w)^2), where y0 is offset; H is amplitude; xc is x center; q is a Fano parameter; w is x width.

While I fitted a curve, the Origin always said "Fit did not converge - mutual dependency exists between parameters. You may have overparameterized the fitting function. Fixing one of them may eliminate this problem." However, no matter I fixed any of the five parameters mentioned above, the same message was always shown.

Does anybody know how to solve the problem?

Thank you very much.
7   L A T E S T    R E P L I E S    (Newest First)
aplotnikov Posted - 10/20/2023 : 09:08:05 AM


Seems, that LaTeX support may be helpful on the forum.
hjskofficial Posted - 10/20/2023 : 04:54:08 AM
Hi James,

Thank you very much for your kind reply. All the Fano-like curves are fitted successfully.

Sincerely,

HJS

quote:
Originally posted by YimingChen

Please check the figure below on initializing the parameters in the Fitting Function Builder dialog.


YimingChen Posted - 10/17/2023 : 11:15:36 AM
Please check the figure below on initializing the parameters in the Fitting Function Builder dialog.
hjskofficial Posted - 10/16/2023 : 10:25:53 PM
Hi James,

Thank you very much for your kind instruction.

Are the initial values universal for all the curve fitting by Fano function? How to choose appropriate initial values?

Sincerely,

HJS

quote:
Originally posted by YimingChen

Please set the initial values of the parameters to be close to the values shown below.


James

YimingChen Posted - 10/16/2023 : 1:48:59 PM
Please set the initial values of the parameters to be close to the values shown below.


James
hjskofficial Posted - 10/16/2023 : 10:48:30 AM
Hi James,

Thank you very much for your message. My data and related NLFit dialog can be accessed through the link as following.

https://www.dropbox.com/scl/fi/jx9l76xajpmfs7zs3dxho/Self-defined-Fano-function-fitting.zip?rlkey=eu5yh6fkn8453o24uutq434t4&dl=0

Sincerely,

HJS

quote:
Originally posted by YimingChen

After you fix the parameters, do you still see strong dependencies between fitting parameters in the parameters table in the NLFit dialog?
Could you share your data here for us to test? Thanks.

James


YimingChen Posted - 10/16/2023 : 09:28:20 AM
After you fix the parameters, do you still see strong dependencies between fitting parameters in the parameters table in the NLFit dialog?
Could you share your data here for us to test? Thanks.

James

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