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
 Forum for Origin C
 peak detection

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
anje18 Posted - 06/27/2002 : 1:44:15 PM
If I have roughly sinusoidal data(the curves are not regular), how could I go about using the programming tools to detect the peaks in this data?
3   L A T E S T    R E P L I E S    (Newest First)
ravinder Posted - 02/17/2004 : 1:09:38 PM
Dear all,
I am using "Pick Peaks" module to detect the peaks in my plot.
Actually the region where peak occurs is not a single point, but a range of x-values that have same y. The peak detection module in its present form, pics the first such point. But, what I need is the central point of this region. How do I acheive this??
Thanks in advance!
tjuii Posted - 07/17/2002 : 7:42:21 PM
Here's another Peak Finder Question.

I have an obscene amount of files that contain resonance spectra of Lorentzians. I have found the PFM very easy to use and gives good results for fitting lorentzians to my data, but is a complete nightmare in the fact that I must do each file by hand. I need to be able to automatically detect the lorentzians in batches of 100 to 500 spectra. Is this easily possible using Origin C or any other method in Origin?

My exact procedure needs to be:
1) open data file (3 columns) containing spectrum of lorentzians (generally 1-10 peaks/spectrum)
2) create a new column that is filled with col(B)^2 + col(C)^2
3) fit this new column to a specified number of lorentzians.
4) Output the peak locations and widths
5) repeat 1-4 for 100 to 500 files
easwar Posted - 06/27/2002 : 5:01:07 PM
Hi,

Assuming your x,y data are in col a, b of worksheet data1:

1> Add a new column, c to the worksheet
2> Type the following in the script window and hit return:

data1_c=peaks(data1_b,w,h)

where you put in some numbers in place of w and h. w is the width, the number of points on either side of the test point and h is the minHeight, in Y axis units.
Column C will then hold the indices (row numbers) of points in your datasets that are peak points. You may need to repeat the command by changing w, h to get the desired results. Make sure to clear col c before running the command again.

If you need more control, there are methods with baseline etc. that you can search for in the LabTalk help file with the keyword "peak".

Easwar
OriginLab.

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