swallez / savitzky-golay-filter

Automatically exported from code.google.com/p/savitzky-golay-filter
10 stars 16 forks source link

There are some differences between savgol_filter and this one #6

Open Serendipitya opened 2 years ago

Serendipitya commented 2 years ago

hello,I have some confusion. I have used savgol_filter which belongs to python scipy, but the result is different from your methods implemented by java

hoggatt commented 1 year ago

This is (in part) because the scipy filter uses an interpolation mode by default. I'm having the same issue.

The interpolation mode does something different with the edges of the filter than what happens in other implementations I've seen.