summaryrefslogtreecommitdiff
path: root/gr-fft/lib
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-11-24 18:20:31 -0500
committerTom Rondeau <tom@trondeau.com>2014-11-24 18:20:31 -0500
commitb2e6c0f247784ba4119cd6aa32998e7fcfa43f77 (patch)
treeb5b3d9e87b1f36110ca422220c5a24c5e86bb457 /gr-fft/lib
parent5669788c6e5b9de19ba17278676d0208f452fdc5 (diff)
fft: fixed Nuttall window naming from nuttal to nuttall.
The old calls to nuttal are still there to preserve the API but they just point to the nuttall versions and their docs have been updated to indicate these calls are deprecated. Will be removed in 3.8.
Diffstat (limited to 'gr-fft/lib')
-rw-r--r--gr-fft/lib/window.cc20
1 files changed, 19 insertions, 1 deletions
diff --git a/gr-fft/lib/window.cc b/gr-fft/lib/window.cc
index 965b11bf46..126b28978d 100644
--- a/gr-fft/lib/window.cc
+++ b/gr-fft/lib/window.cc
@@ -209,18 +209,36 @@ namespace gr {
std::vector<float>
window::nuttal(int ntaps)
{
+ return nuttall(ntaps);
+ }
+
+ std::vector<float>
+ window::nuttall(int ntaps)
+ {
return coswindow(ntaps, 0.3635819, 0.4891775, 0.1365995, 0.0106411);
}
std::vector<float>
window::blackman_nuttal(int ntaps)
{
- return nuttal(ntaps);
+ return nuttall(ntaps);
+ }
+
+ std::vector<float>
+ window::blackman_nuttall(int ntaps)
+ {
+ return nuttall(ntaps);
}
std::vector<float>
window::nuttal_cfd(int ntaps)
{
+ return nuttall_cfd(ntaps);
+ }
+
+ std::vector<float>
+ window::nuttall_cfd(int ntaps)
+ {
return coswindow(ntaps, 0.355768, 0.487396, 0.144232, 0.012604);
}