|
Mike Buess
USA
3037 Posts |
Posted - 03/05/2005 : 07:58:09 AM
|
You can use the NLSF module's After Fitting scripts to write the parameters where ever you like. If your output wks looks like that created by MultiFit then your script can look like this...
%W=Results; // Use name of your output wks here if(exist(%W,2)==0) return; // If not exist quit get %(%W,1) -e npt; // how many output rows? set %W -er npt+1; // add new row %(%W,1,npt+1)$=nlsf.fitdata1$; // dataset name loop (i,1,nlsf.npara) { ii=2*i; %(%W,ii,npt+1)=nlsf.p$(i); // parameter value %(%W,ii+1,npt+1)=nlsf.e$(i); // error };
...The MultiFit add-on has been updated to handle parameters from a single curve fitting session in the manner you requested. Use the command "mf2wks Results" to append the current parameters to the wks named Results. (You can use any name you want.) The worksheet will be created if it doesn't exist and will be identical to the wks created by the mfseq command. You can either use the mf2wks command in the After Fitting scripts as discussed above or else execute from the script window.
Mike Buess Origin WebRing Member
Edited by - Mike Buess on 03/05/2005 08:01:52 AM
Edited by - Mike Buess on 03/05/2005 08:32:30 AM
Edited by - Mike Buess on 03/05/2005 11:09:48 AM |
 |
|