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
 Forum for Origin C
 Fit graphs with user defined fitting 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
a.abc.b35 Posted - 01/26/2011 : 3:23:17 PM
Hi there. I am familiar with Origin C. I have written a fitting routine ,say "user", which I can use to fit my data. I have 100 such graphs where I do the same fitting and Origin does remember the last fit so that I dont have to initialize the parameters. I can straight way iterate and get the best fit for that file. Than I move to the next file and so on.
Now what I want is, instead of controlling this manually, I want to fit myself for the first file and i want to write a routine where all the subsequent files will be fitted automatically to the best fit. Can anyone help me with a routine for that ? i hope the question is clear.

AB
1   L A T E S T    R E P L I E S    (Newest First)
Penn Posted - 01/26/2011 : 9:17:46 PM
Hi AB,

You can loop over all the data in your code for fitting. If you have your own initial parameter values, you can use the NLFitSession::SetParamValues method to set the initial parameter values. Please refer to the examples in Non-linear fitting and Using NLFitSession.

Penn

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