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
 find peaks and keep only the peak position
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

ticofiz1

6 Posts

Posted - 05/19/2016 :  9:24:40 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi there,

I use the Find Peaks function and in the Results table I want to export only the peak index (the position). Could you please tell me how to do that? I want to find peaks in 100's of columns and I want to have for convenience only the peak positions.

Many thanks,
Alexander

SeanMao

China
288 Posts

Posted - 05/20/2016 :  02:13:38 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Suppose you have the data as shown in figure below:



To find peaks for first Y (column B), you can enter command in Script Window to run:

pkFind -r 2 iy:=[MultiplePeaks]"Multiple Peaks"!(A,B) dir:=p ocenter_x:=<input>!(<new>);

which will output peak height and peak Xs of column B vs Column A in new column.

You can also run command "pkfind -d;" to open the dialog of the this function.

After performed the first analysis, you can then click the green lock as shown in figure above and select Repeat this for all Y columns to find the peak centers for all the rest of 100's Ys.

Regards!

Sean

OriginLab Tech.

Edited by - SeanMao on 05/20/2016 02:14:58 AM
Go to Top of Page

ticofiz1

6 Posts

Posted - 05/20/2016 :  02:34:36 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you very much. It works perfectly.

A.
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