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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Fitting FRAP curves by Soumpasis Fit
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

linktoaditya

Netherlands
1 Posts

Posted - 02/12/2015 :  11:35:44 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

jasonzhao

China
262 Posts

Posted - 02/16/2015 :  03:14:22 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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

Edited by - jasonzhao on 02/16/2015 03:59:58 AM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000