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
 copying fit parameter to a worksheet

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
halebob Posted - 07/29/2006 : 09:25:52 AM
Origin Version 7.5 SR2 v7.5817:
Operating System: Windows XP

Hi all,
I would like to copy parameters, that I got from several fits, to a single worksheet, so that I get a table where all parameters of my ASCII datafiles are listed. I know that there should be a solution by writing an OriginC program, but in my case this is very difficult since my datasets are very different and I want to fit them by hand. Is there an easy way how to copy the resulting parameters to a new worksheet after the fit? I found the command mf2wks on the internet but it does not work and there is no documentation at all.
Thanks a lot for your help,
Markus.
3   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 07/29/2006 : 10:21:01 AM
Add the line void mf2wks(string); at the top of your OC file (after the #includes). Then you can use it like this... mf2wks(wksName);

Mike Buess
Origin WebRing Member
halebob Posted - 07/29/2006 : 10:05:53 AM
Thanks a lot,
that is exactly what I needed. Do you know if it is possible to include the mf2wks command also in an OriginC file?
Mike Buess Posted - 07/29/2006 : 09:55:05 AM
Hi Markus,

I routinely use mf2wks to do exactly what you described. Enter mfhelp in the script window for documentation. In particular, this is the description of mf2wks...

mf2wks [wksname]
Copies current fit parameters and their errors to worksheet.
If wksname is omitted then create a new parameter worksheet
with a default name. (Intended for simultaneous fitting
results.) If wksname is given then activate that worksheet
(create if necessary) and write the parameters to it.
(Intended for appending single curve fitting results to
the same worksheet.)

I use it as follows...
1. Assign the command mf2wks Results to the Custom Routine button as described here.
2. Click the Custom Routine button after each fit to copy the parameters to the Results worksheet. (Of course you can name the wks however you like in step 1.)

Mike Buess
Origin WebRing Member

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