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
 Fitting FRAP curves by Soumpasis Fit

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
linktoaditya Posted - 02/12/2015 : 11:35:44 AM
Hi,
I am looking for someone who is using the Soumpasis equation for fitting my data. Per se it is used for fitting one component fluorescent recovery curves.

I tried writing the code in Origin, but i am getting errors. I am not a programmer and hence do not understand these. Basically the equation is



where I0() is the modified Bessel function of the first kind of order 0 and I1() is the modified Bessel function of the first kind of first order to find only parameters A and #964;. A will be the mobile fraction and the diffusion coefficient,D is calculated by

D = w^2/Tau

The code i wrote in the code builder is :

//----------------------------------------------------------
//
void _nlsfSoumpasisFit(
// Fit Parameter(s):
double T,
// Independent Variable(s):
double y,
// Dependent Variable(s):
double& t)
{
// Beginning of editable part
exp^(-2*T/t)* {J0(2*T/t) + J1(2*T/t)}
// End of editable part
}


I might have made a blunder here. But i have no clue about programming as i am biologist. Any help would be highly appreciated!

Aditya



Aditya Iyer
1   L A T E S T    R E P L I E S    (Newest First)
jasonzhao Posted - 02/16/2015 : 03:14:22 AM
Hello,

Please refer to this page for finer details.
http://www.originlab.com/doc/Tutorials/UserDef-FitFunc

you can write your fitting function in this way:

A*exp^(-2*T/t)*(J0*(2*T/t) + J1*(2*T/t))

the A, T, J0, J1 are parameters.

Best regards!
Jason
OriginLab Technical Service

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