nk
1.0.0
C++ Numerical Computing Runtime
Toggle main menu visibility
Loading...
Searching...
No Matches
sgolay.hpp
Go to the documentation of this file.
1
3
// toolboxes/signal/include/nk/signal/smoothing/sgolay.hpp
4
//
5
// Savitzky-Golay smoothing filter family.
6
7
#pragma once
8
9
#include <memory_resource>
10
#include <nk/value/value.hpp>
11
12
namespace
nk::signal {
13
16
17
33
Value
sgolay
(
int
order,
34
int
framelen,
35
std::pmr::memory_resource * mr =
nullptr
);
36
54
Value
sgolayDiff
(
int
order,
55
int
framelen,
56
std::pmr::memory_resource * mr =
nullptr
);
57
81
Value
sgolayfilt
(
const
Value
& x,
82
int
order,
83
int
framelen,
84
std::pmr::memory_resource * mr =
nullptr
);
85
104
Value
sgolayfilt
(
const
Value
& x,
105
int
order,
106
int
framelen,
107
const
Value
& weights,
108
int
dim,
109
std::pmr::memory_resource * mr =
nullptr
);
110
111
113
}
// namespace nk::signal
nk::Value
Core MATLAB-compatible multidimensional array and scalar value type.
Definition
value.hpp:61
nk::signal::sgolayfilt
Value sgolayfilt(const Value &x, int order, int framelen, std::pmr::memory_resource *mr=nullptr)
Savitzky-Golay smoothing of a 1-D signal.
nk::signal::sgolayDiff
Value sgolayDiff(int order, int framelen, std::pmr::memory_resource *mr=nullptr)
Savitzky-Golay differentiation-filter matrix (the second output G of MATLAB's [B,G] = sgolay(order,...
nk::signal::sgolay
Value sgolay(int order, int framelen, std::pmr::memory_resource *mr=nullptr)
Savitzky-Golay filter projection matrix.
src
toolboxes
signal
include
nk
signal
smoothing
sgolay.hpp
Generated by
1.17.0