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 |
|
|