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
 results output problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

blackhair

USA
Posts

Posted - 09/22/2007 :  6:00:14 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): OriginPro7.0->OriginPro7.5
Operating System:XP with SP2

the output of my user defined fitting function in OriginPro7.0 is(shown in results log window) :

[2007-9-23 05:23 "/With Pump/(111)(200)/Raw/Graph1" (2454366)]
Data: Data14_B
Model: 2 Lorentz
Equation: y = y0 + (2*A1/PI)*(w1/(4*(x-xc1)^2 + w1^2)) + (2*A2/PI)*(w2/(4*(x-xc2)^2 + w2^2))

Weighting:
y No weighting

Chi^2/DoF R^2
----------------------------------------
5338.02198 0.99875
----------------------------------------


Parameter Value Error
----------------------------------------
y0 -104.85479 8.30872
xc1 249.14337 0.02247
w1 12.23194 0.07117
A1 178496.9144 815.4574
xc2 287.10135 0.05359
w2 13.37986 0.17031
A2 85959.85613 863.03173
----------------------------------------


the output in OriginPro7.5 is:

[2007-9-23 05:23 "/With Pump/(111)(200)/Raw/Graph1" (2454366)]
Data: Data14_B
Model: DoubleLorentz
Weighting:
y No weighting

Chi^2/DoF R^2
----------------------------------------
5338.02198 0.99875
----------------------------------------


Parameter Value Error
----------------------------------------
y0 -104.85479 8.30872
xc1 249.14337 0.02247
w1 12.23194 0.07117
A1 178496.9144 815.4574
xc2 287.10135 0.05359
w2 13.37986 0.17031
A2 85959.85613 863.03173
----------------------------------------


The only change of these 2 user defined functions is the name becoz '2 lorentz' is not valid function name in OriginPro7.5, but the line of 'Equation' is missed.

How can I solve this problem? the missing line will make my next data processing run wrongly.

Blackhair



Edited by - blackhair on 09/22/2007 6:03:09 PM

Mike Buess

USA
3037 Posts

Posted - 09/23/2007 :  09:04:18 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The fitting equation for a user defined function is not output by default so you had to arrange for that yourself in Origin 7. That was probably done in the After Fit scripts which you can copy over to O75. Note that all settings and scripts are saved in the Function file, .FDF, which you could have copied from O70 to O75 rather than redefining the function in O75.
quote:
becoz '2 lorentz' is not valid function name in OriginPro7.5
It's not valid in OriginPro7.0 either so you must have renamed it at the same time you inserted the equation. Just copy over the .FDF file from O70 to O75. The easiest way to copy it is to drop the file onto Origin's program window.

...If you copied the .FDF file to O75 and the Results Log output is still different then you need to enable the After Fit scripts and disable the Write Parameters to Results Log option as shown below. I don't know what scripts you used so they are blank here.



Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 09/23/2007 09:32:20 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