Hi Albert,
I did some testing in Origin SR4. Looks like the smooth point option can work.
Below is the script I used to do the testing:
//Create a new book and import the data
newbook;
string fname$ = system.path.program$ + "Samples\Signal Processing\fftfilter1.dat";
impasc;
wks.addcol();
wks.addcol();
//smoothing points = 10
col(c)[c]$=10-point;
curve.data$ = %h_b;
curve.result$ = %h_c;
curve.i1 = -1;
curve.smoothpts = 10;
curve.derivdeg = 1;
curve.polyDeg = 2;
curve.derivdeg = 1;
curve.sgderiv();
//smoothing points = 5
col(d)[c]$=5-point;
curve.data$ = %h_b;
curve.result$ = %h_d;
curve.i1 = -1;
curve.smoothpts = 5;
curve.polyDeg = 2;
curve.derivdeg = 1;
curve.sgderiv();
I can see column C and column D is different with different smoothpts setting. Would you pleae try again?
Also, in the coming SR5, we will add the Savitzy-Golay Smoothing method to the Differentiate tool so that you can use it from GUI.
Deanna
OriginLab Technical Services