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