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
 accessing NLFit from OriginC

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
SvenFriedemann Posted - 11/29/2009 : 2:42:25 PM
Origin Ver. and Service Release (Select Help-->About Origin): 8SR6
Operating System: WinXP

Hi,

I have many curves to fit and I like the new NLFit dialog and the
resulting parameter sheet added to original worksheetpage. I wonder
whether there is a way to access this from OriginC such that I get the
plotted curve to the graph windows as well as the parameter sheet.
As far as I understood the NLFitSession class does not provide access to
this.

Best regards,

Sven Friedemann
4   L A T E S T    R E P L I E S    (Newest First)
Iris_Bai Posted - 12/06/2009 : 9:42:14 PM
Hi Sven,

I updated Fit on Multiple Datasets with Parameter Shared to add code to show how to access parameter values by operation tree. Please look at "// output parameter values" part.

Thanks,
Iris
SvenFriedemann Posted - 12/04/2009 : 07:28:29 AM
Dear Iris,

thanks very much for the help, it did what I wanted.
However, there is only one question remaining.
Is it possible to access the resulting parameters from trOp, the operation tree? Right now I only accessed them via wks.GetReportTree.

Furthermore, you asked for some user story. It is quite simple. I have several sets of data to which I perform a linear fit and extract the slope to a summarizing worksheet. I only would like to have a look at the performance of the fitting in order to exclude bad data points from the fitting.

Best wishes,

Sven
Iris_Bai Posted - 12/01/2009 : 02:44:22 AM
More examples:

Simplest_Case_of_Fitting_with_Operation

Fit on Multiple Datasets with Parameter Shared

Fit Multiple Peaks Data

Iris
Iris_Bai Posted - 11/30/2009 : 06:01:31 AM
Hi,

I added a simple example codes to this wiki page: http://ocwiki.originlab.com/index.php?title=OriginC:Fitting_with_Operation

I will added more examples soon. If you have some user story, please let me.

Thanks,Iris

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