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
 quesiton on batch process of fitting curves

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
GaussianFit Posted - 08/11/2008 : 2:57:40 PM
Hello,

I'm a new user of Origin software and I'm still getting familiar with it. I've come up with a question about how to use Origin 8 to fit a bunch of data curves: Right now I'm fitting each curve manually using a user-defined nonliner fitting function. The initial parameters and the data range are the same for each curve. This is fine for now but I have to repeat this operation on hundreds of curves and it's really a tedious job to do it one by one. Is there a simple way to perform such data analysis function automatically? Any idea would be really appreciated! Thanks a lot first.

Origin Version: Pro 8 SR2
Operating system: Windows XP Professional SP2
3   L A T E S T    R E P L I E S    (Newest First)
GaussianFit Posted - 08/12/2008 : 1:17:07 PM
Hi Hideo,

THANK YOU SO MUCH, this trick works like a charm! It saved my day.
Also thanks cpyang for pointing out Origin 8.1 will have such automation function incorporated, LabTalk should also work but I feel it's a step back since similar job can be done in other programming packages such as matlab.

quote:
Originally posted by Hideo Fujii

Hi,

For a meantime, just as an offhand work-around, you may also try Origin8's "Multi-Data Fit Mode":

1) Plot ALL datasets you want to fit such as by using Plot Setup dialog.
2) Using "Selection on All Plots" in the Regional Data Selector, select ALL data plots (click-and-drag diagonally from one corner to another).
3) Start NLFit session, and in the "Data Selection", choose "Independent Fit" in the Multi-Data Fit Mode setting. NLFit fits all datasets at once, and individual fit curves are included in the report sheet in the worksheet.

Hope you can save some time.

--Hideo Fujii
OriginLab Corp.




Hideo Fujii Posted - 08/12/2008 : 11:51:49 AM
Hi,

For a meantime, just as an offhand work-around, you may also try Origin8's "Multi-Data Fit Mode":

1) Plot ALL datasets you want to fit such as by using Plot Setup dialog.
2) Using "Selection on All Plots" in the Regional Data Selector, select ALL data plots (click-and-drag diagonally from one corner to another).
3) Start NLFit session, and in the "Data Selection", choose "Independent Fit" in the Multi-Data Fit Mode setting. NLFit fits all datasets at once, and individual fit curves are included in the report sheet in the worksheet.

Hope you can save some time.

--Hideo Fujii
OriginLab Corp.


cpyang Posted - 08/11/2008 : 9:09:19 PM
I am afraid at the current version of Origin (SR2), you will have to use LabTalk script to do this. We are planning to automate this type of things without any programming in Origin 8.1 planned for next year.

If you are up to doing LabLalk, the following example can be modified to suite your need.

http://wiki.originlab.com/index.php?title=LabTalk:Curve_Fitting#Fit_Multiple_Peaks_with_Replica


CP

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