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
 problem with Savitzky-Golay filter
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

kailun

Hong Kong
Posts

Posted - 02/25/2006 :  03:56:14 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (7.5):
Operating System: winxp

the attempt always fails and the program replied, " smooth failed because of inadequate window size or unequally spaced data"

what can i do?

is there any method to find the peak to peak size atmomatically?

thanks in advance

wilson

Mike Buess

USA
3037 Posts

Posted - 02/25/2006 :  11:16:42 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Wilson,

> SG filter requires equally spaced X values. Apparently your data do not satisfy that criterion. One solution would be to interpolate your data (Analysis > Interpolate/Extrapolate) over a range of equally spaced X values and filter the results.

> What do you mean by peak to peak size?

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 02/25/2006 11:51:11 AM
Go to Top of Page

kailun

Hong Kong
Posts

Posted - 02/25/2006 :  2:14:29 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
dear mike,

the first problem was solved with your help. thanks.

i got data taken from nanoindentation machine which appeared as some peaks. is it possible to find out the peak to peak amplitude automatically?

thanks

wilson
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 02/25/2006 :  3:01:12 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Origin has peak picking routines that will give you the positions of peaks that satisfy given criteria (height, width). Knowing their positions you can find their heights. See the Curve object and peaks() function in the LabTalk reference. You can also use Pick Peaks on the Tools menu. But I'm still not sure what you mean by peak to peak amplitude. Difference between adjacent peak heights?

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 02/25/2006 3:06:09 PM
Go to Top of Page

kailun

Hong Kong
Posts

Posted - 02/27/2006 :  02:25:32 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
yes, is difference between adjacent peak heights
how can i get it automatically?

thanks a lot
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 02/27/2006 :  07:52:11 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Probably easiest with the Pick Peaks tool. Adjust it to find all peaks then locate and add a column to the output worksheet Peaks1. Select the new column, select Set Column Values, enter the expression diff(col(Pky)) in the dialog and click OK.

Mike Buess
Origin WebRing Member
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