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
 how to export all fitting paramters to a file.dat
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

hluna

Brazil
Posts

Posted - 05/02/2007 :  3:28:56 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:windows

Dear all
Does anyone know how to write to a file.dat, the fitting parameters obtained during a series of fittings (e.g. Voigt function). For example I fit a voigt to 100 curves, and I would like at the end, to have lets say for example a file.dat with 2x100 containg two fitting parameters WL and Wg for the 100 curves.

Thanks everybody in advance.
Hugo

Mike Buess

USA
3037 Posts

Posted - 05/02/2007 :  4:05:44 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Easier to save all parameters to one worksheet and then export the worksheet to file with File > Export ASCII. This is probably the easiest way to save parameters...

1. Download & install the MultiFit addon. Instructions are in the project MultiFit.opj.
2. In the Advanced Fitting tool select Scripts > After Fit.
3. Enter mf2wks FitResults; in the After Fitting Scripts box.
4. Check the Enabled option.
5. Select Function > Save.

Now every time you press the fitter's Done button the current parameters are saved to the worksheet called FitResults which is automatically created the first time. The worksheet will contain all parameters and their errors but you can delete unwanted columns before exporting to file.

Mike Buess
Origin WebRing Member
Go to Top of Page

hluna

Brazil
Posts

Posted - 05/02/2007 :  4:19:13 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
hey Mike ta for that.
yes I realise reading previous posts that should be the way. however
everything works now thanks million
However....my fitting (voigt) went mad. cannot fit the profiles anymore ! it keep giving me the same values always and they are far from the best fitting value.

is there any report of conflict before
cheers mate

Edited by - hluna on 05/02/2007 4:36:36 PM
Go to Top of Page

hluna

Brazil
Posts

Posted - 05/02/2007 :  4:42:07 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
me again
got the momentaneous crazyness sorted.
Mike thank you very much for your reply helped alot indeed.
Hugo

Edited by - hluna on 05/02/2007 4:42:44 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