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
 Spacing of points for Savitzky Golay Smoothing

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
gpd Posted - 11/30/2006 : 6:30:49 PM
Origin Version (Select Help-->About Origin): 7.5
Operating System: Windows 2000

I am attempting to smooth & differentiate a UV/Vis spectrum using a Savitzky-Golay filter. My data is equally spaced, however the spacing is not 1 nm. Rather, the spacing between data points is 1.11604 nm. When I attempt to use the Savitzky-Golay filters, I get an error message stating that my points are not equally spaced (even though they are). Is there a way to use the Savitzky-Golay filter on data that has equal but non-unity spacing? Thanks a bunch for any input.

Cheers,

Greg
3   L A T E S T    R E P L I E S    (Newest First)
zachary_origin Posted - 11/30/2006 : 10:24:38 PM
Just a reminder. You can directly open a Excel file in Origin. Select File: Open Excel. Then there will be dialog to let you choice open as an Excel workbook or an Origin workbook.

Zachary
OriginLab Technical Services.
gpd Posted - 11/30/2006 : 7:47:17 PM
Mike,

Thanks for the reply. I went back and checked my file. I was importing the data from an excel spreadsheet. On that spreadsheet, I had formatted the x-data column to only 1 decimal place. when I copied and pasted the data to Origin, the data was truncated to one decimal place. This is why Origin was seeing a non-uniform data spacing. I simply removed the formatting in my spreadsheet (i.e. no longer required 1 decimal place) and this time when I copy and paste the data it worked fine. So I guess I'll have to be more careful when copying data from a spreadhsset in the future to make sure that the data does actually get passed correctly. Thanks for the help.

Cheers,

Greg
Mike Buess Posted - 11/30/2006 : 7:19:03 PM
Hi Greg,

The SG filter works fine with noninteger X spacings so check your worksheet for odd (spurious) data points. Perhaps some of your file header leaked through to become the first data point. Or maybe your file has a tailer which was imported by mistake.

Mike Buess
Origin WebRing Member

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