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 for Programming
 LabTalk Forum
 Multiple Lorentzian Peak Fitting of Repeat Data

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
masona10 Posted - 03/16/2020 : 12:55:35 PM
Hi,

I am attempting to automate a process for fitting multiple lorentzian peaks on repeat data sets.

Currently I use the code nlfitpeaks func:=Lorentz, and manually select a rough Xc ect. However my data consists of around 1000 different repeat data sets all with peaks in almost identical places, with mild variation. What I would like to do is for the first data set, manually select the peaks, then automate a system that selects a peaks for the repeat data sets using the output Xc ect data from the first manual fit. I have attempted to use paMultiY using a theme, but this does not seem to select the correct peaks. Is there anyway to automate the nlfitpeaks function to eliminate manual peak selection, it doesnt seem to work with the nlbegin function. The key information I am after is the centre of the peaks and the variation thereof through the repeats. (Example data from a peak fit y0=99.64217, Xc=2.82012, w=0.03156, A=-0.03714, -0.74932)

Many Thanks
Andrew Mason

a.mason
1   L A T E S T    R E P L I E S    (Newest First)
YimingChen Posted - 03/18/2020 : 4:35:04 PM
Hi Andrew,

Can you check the sample script in this page where you can set initial values of the parameters in nlbegin.
https://www.originlab.com/doc/LabTalk/Tutorials/Tutorial-Curve-Fitting-and-Batch-Processing-with-LT#Gaussian_Fitting_Complete_Example

James

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