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
 User built fitting function does not work!

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
islan Posted - 10/14/2013 : 10:46:17 AM
Origin Ver. and Service Release (Select Help-->About Origin): 8.5.1G
Operating System: Windows 7, 64-bit

Hey folks!

I tried to built a function by my own but it won't work.

I followed the instructions in the Tutorial. And everything seemed to be fine until I tested it. Then nothing happend.

May someone tell me how I can upload my example and then I would be glad for any help or hints.


Ursina
4   L A T E S T    R E P L I E S    (Newest First)
islan Posted - 10/16/2013 : 09:03:39 AM

Hi Hideo

yes, I understand the problem of the 0-divide. But why are those (offset = 0, mu = 0, w1 = 0, w2 = 0) parameters zero?

And how do I have to change my fitting function to be able fitting more than one peak at once?

Thanks :)
Hideo Fujii Posted - 10/15/2013 : 6:05:49 PM
Hi Ursina,

> I get 0. (offset = 0, mu = 0, w1 = 0, w2 = 0)

It seems that the term, e.g., -(x-xc)^2/w2^2 in your function would cause 0-divide error.

Helps?

--Hideo Fujii
OriginLab
islan Posted - 10/15/2013 : 05:45:10 AM
Hi Hideo

thanks for the hint. I realized that I forgot to iniziallize the parameters

But now after the parameters are initiallized it does it wrong. For some parameters I get 0. (offset = 0, mu = 0, w1 = 0, w2 = 0) And I don't understand that.

http://www.originlab.com/ftp/forum_and_kbase/Images/doubleGauss.txt

Do you have any idea?

Ursina
Hideo Fujii Posted - 10/14/2013 : 5:57:38 PM
Hi Ursina,

In the Fitting Function Builder, in the 4th panel to define the function form, have you tried to press the "Runner" button to do the quick-check of the function output with the given sample X value?
Often, very simple mistakes like unmatched parentheses, etc. caused the function unworkable.

Just my first guess.

--Hideo Fujii
OriginLab

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