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
 results output problem

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
blackhair Posted - 09/22/2007 : 6:00:14 PM
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
1   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 09/23/2007 : 09:04:18 AM
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

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