sgolay: Efficient Savitzky-Golay Filtering

Smoothing signals and computing their derivatives is a common requirement in signal processing workflows. Savitzky-Golay filters are a established method able to do both (Savitzky and Golay, 1964 <doi:10.1021/ac60214a047>). This package implements one dimensional Savitzky-Golay filters that can be applied to vectors and matrices (either row-wise or column-wise). Vectorization and memory allocations have been profiled to reduce computational fingerprint. Short filter lengths are implemented in the direct space, while longer filters are implemented in frequency space, using a Fast Fourier Transform (FFT).

Version: 1.0.3
Imports: signal
Suggests: covr, RUnit
Published: 2023-04-05
DOI: 10.32614/CRAN.package.sgolay
Author: Sergio Oller Moreno ORCID iD [aut, cre], Robert Gentleman [ctb, cph] (Contributor to src/stats_filter.c and src/fft.c (derived from the stats R package)), Ross Ihaka [ctb, cph] (Contributor to src/stats_filter.c and src/fft.c (derived from the stats R package)), Brian Ripley [ctb, cph] (Contributor to src/stats_filter.c and src/fft.c (derived from the stats R package)), Martin Maechler [ctb, cph] (Contributor to src/stats_filter.c and src/fft.c (derived from the stats R package)), Duncan Murdoch [ctb, cph] (Contributor to src/stats_filter.c and src/fft.c (derived from the stats R package)), Institute for Bioengineering of Catalonia [cph]
Maintainer: Sergio Oller Moreno <sergioller at gmail.com>
BugReports: https://github.com/zeehio/sgolay/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/zeehio/sgolay
NeedsCompilation: yes
Materials: README NEWS
CRAN checks: sgolay results

Documentation:

Reference manual: sgolay.pdf

Downloads:

Package source: sgolay_1.0.3.tar.gz
Windows binaries: r-devel: sgolay_1.0.3.zip, r-release: sgolay_1.0.3.zip, r-oldrel: sgolay_1.0.3.zip
macOS binaries: r-release (arm64): sgolay_1.0.3.tgz, r-oldrel (arm64): sgolay_1.0.3.tgz, r-release (x86_64): sgolay_1.0.3.tgz, r-oldrel (x86_64): sgolay_1.0.3.tgz
Old sources: sgolay archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=sgolay to link to this page.