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
 External dataset in fitfunction possible?

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
Rollo78 Posted - 08/02/2011 : 3:55:09 PM
Origin Ver. 8.5.0G and Service Release 0
Operating System: Win 7

Hi,

i use the impulse analyzer to fit a Bremsstrahlung spectra. I've created therefore a FDF-File with a rather complicated fit function. Is it possible to use external data e.g. from the worksheet in the fitfunction during the fit?

That means for a certain "x" (channel) i'll calculate an integer number with one of the fitparameters "x*k=c", read out from the worksheet Column(..), Row(c) a double value and use it in the fit function as factor for my fit function.

e.g.:
int c;
c=k*x;
Fitfunction: y=y0 + x*k*(column,row:c)

I hope it's not too confusing!

Best Regards
Marco
2   L A T E S T    R E P L I E S    (Newest First)
Rollo78 Posted - 08/15/2011 : 05:54:48 AM
Thank you for your help!

Greetings
Marco
larry_lan Posted - 08/02/2011 : 9:46:15 PM
Hi Marco:

Here is an example. You don't need to care about the convolution part. The example shows that, inside the function body, you can use Worksheet wks = Project.ActiveLayer(); to get the active worksheet, and then define datasets for worksheet columns. Hope this helps.

Thanks
Larry

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