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
 Origin Forum
 Langevin Function
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

rhorton

USA
Posts

Posted - 02/20/2006 :  7:13:19 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5
Operating System:XP

Hi,

I am a new user and I would like to know how to run a langevin function on a data set. If it is not built in can you tell me how to create a function and save it to be used again?

Leo_Li

China
Posts

Posted - 02/20/2006 :  9:20:41 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Origin menu: Help -> Origin
Analysis: Curve Fitting -> The NLSF advanced Fitting Tool -> User-Defined Fitting Functions
Go to Top of Page

Brintakis

Greece
Posts

Posted - 06/03/2008 :  06:27:28 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

I tried to create the function with the information that are in the page:

http://www.originlab.com/www/helponline/Origin8/en/appendix_3_functions/curve_fitting_functions/langevin.htm

but I didn't manage to create it

Can anyone give me more information or provide me the FDF file??

Thank you very much!
Go to Top of Page

Echo_Chu

China
Posts

Posted - 06/04/2008 :  05:19:17 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

The function can only be avaible in Origin8.0. Could you leave your email here so that we can send you the fdf file?

Echo
OriginLab Corp
Go to Top of Page

SAURABH PARMAR

India
1 Posts

Posted - 06/28/2016 :  01:39:42 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I want to fit my magnetization data with langevin function, I tried to manually add new function but can not able to generate the one. so Can you please send me the file, which can I directly add to my origin-8. Thanking You.

SAURABH PARMAR
Go to Top of Page

kfauth

Germany
33 Posts

Posted - 06/28/2016 :  09:43:28 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,
this is a simple definition of the Langevin function I use a lot:
y=A*(cosh(N*0.672*B/T)/sinh(N*0.672*B/T)-T/(N*0.672*B))

Herein, the ingredients are as follows:
A: (arbitrary) amplitude
N: Magnitude of the paramagnetic moment (number of Bohr magnetons)
0.672: Bohr magneton / Boltzmann constant
T: temperature in K

Press F8 key to call the fit function builder, get and follow the documentation/instructions on making fit functions. In this way you will not have to fiddle around with putting files in the right position... Origin does it for you.

Good luck. And do "use your brain" when making use of this function. Concerning the arbitrary amplitude, this is not the standard textbook definition (but very close). Using different parameters for argument and overall amplitude makes it easier to cross-check physical consistency (well, at least I believe so).

Edit: Let me add that only in few cases does fitting with a simple Langevin function yield results which can be interpreted on a physically sound basis. As soon as there are e.g. size distributions (resulting in distributions of magnetic moments) these have to be modeled. Parameters such as the magnitude of the moment N above do not represent a correct average moment or size. this is because assuming a single size the saturation moment is proportional to N while the susceptibility (slope of (M(H)) at small fields) is proportional to N^2. What you need then is a properly weighted convolution of a size/moment distribution with associated Langevin curves. This is entirely possible but requires a lot more coding.

Edited by - kfauth on 06/28/2016 12:54:46 PM
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