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
 A fitting function that gets data from a WS?

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
Baobob Posted - 11/16/2010 : 11:57:08 AM
Hello all,

I am trying to fit an experimental curve of quantum efficiency (QE) measured as a function of wavelength (WL) with a model that is not a function of WL, but rather a function of absorption (A).
I have at my disposal the absorption value for each WL, from a separate measurement.
So I filled a worksheet with WL as a X column, and QE and A as Y columns, plotted QE(WL).
I think I need to set WL as the independent variable in the Edit Function window, but then, I don't know how to "call" the value of A that corresponds to each WL. Or maybe that's not at all the way it should be done.

Any help would be very appreciated.

Origin 7.5 SR6
Windows 7
2   L A T E S T    R E P L I E S    (Newest First)
Baobob Posted - 11/18/2010 : 05:49:54 AM
Hello Larry, thank you for your answer. It worked very well.



Origin 7.5 SR6
Windows 7
larry_lan Posted - 11/18/2010 : 01:14:30 AM
Hi:

It depends how you organize your data. Does your Absorption value mapped to WL one by one? If so, the following example is a quick solution:

Supposed your data is organized like:



Then you can define a function like:

Function type: Origin C
Independent Variable: Absorption, WL
Dependent Variable: QE
Function Body:
	QE = a + b * Absorption;
	WL;

(Supposed the function is a simple linear model) Note that WL never used during fitting.

Then in NLSF dialog, assign datasets as follow to fit.

Column 1 -> WL
Column 2 -> Absorption
Column 3 -> QE

Thanks
Larry
OriginLab

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