| mxlib
    c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo] | 
Procedures to calculate window functions for signal processing. More...
Procedures to calculate window functions for signal processing.
Definition in file signalWindows.hpp.
#include <cmath>#include "../math/constants.hpp"Go to the source code of this file.
| Namespaces | |
| namespace | mx | 
| The mxlib c++ namespace. | |
| Functions | |
| template<typename realT > | |
| void | mx::sigproc::window::tukey (realT *filt, int N, realT alpha) | 
| The Tukey Window. | |
| template<typename realT > | |
| void | mx::sigproc::window::tukey (std::vector< realT > &filt, realT alpha) | 
| The Tukey Window. | |
| template<typename realT > | |
| void | mx::sigproc::window::genCosine (realT *filt, size_t N, realT a0, realT a1) | 
| The generalized 2 parameter cosine Window. | |
| template<typename realT > | |
| void | mx::sigproc::window::genCosine (realT *filt, size_t N, realT a0, realT a1, realT a2) | 
| The generalized 3 parameter cosine Window. | |
| template<typename realT > | |
| void | mx::sigproc::window::genCosine (realT *filt, size_t N, realT a0, realT a1, realT a2, realT a3) | 
| The generalized 4 parameter cosine Window. | |
| template<typename realT > | |
| void | mx::sigproc::window::hann (realT *filt, int N) | 
| The Hann Window. | |
| template<typename realT > | |
| void | mx::sigproc::window::hann (std::vector< realT > &filt) | 
| The Hann Window. | |
| template<typename realT > | |
| void | mx::sigproc::window::hamming (realT *filt, int N) | 
| The Hamming Window. | |
| template<typename realT > | |
| void | mx::sigproc::window::hamming (std::vector< realT > &filt) | 
| The Hamming Window. | |
| template<typename realT > | |
| void | mx::sigproc::window::blackman (realT *filt, size_t N) | 
| The Blackman Window. | |
| template<typename realT > | |
| void | mx::sigproc::window::blackman (std::vector< realT > &filt) | 
| The Blackman Window. | |
| template<typename realT > | |
| void | mx::sigproc::window::exactBlackman (realT *filt, size_t N) | 
| The Exact Blackman Window. | |
| template<typename realT > | |
| void | mx::sigproc::window::exactBlackman (std::vector< realT > &filt) | 
| The Exact Blackman Windwo. | |
| template<typename realT > | |
| void | mx::sigproc::window::nuttal (realT *filt, size_t N) | 
| The Nuttal Window. | |
| template<typename realT > | |
| void | mx::sigproc::window::nuttal (std::vector< realT > &filt) | 
| The Nuttal Window. | |
| template<typename realT > | |
| void | mx::sigproc::window::blackmanNuttal (realT *filt, size_t N) | 
| The Blackman-Nuttal Windwo. | |
| template<typename realT > | |
| void | mx::sigproc::window::blackmanNuttal (std::vector< realT > &filt) | 
| The Blackman-Nuttal Windwo. | |
| template<typename realT > | |
| void | mx::sigproc::window::tukey2d (realT *filt, int rows, int cols, realT D, realT alpha, realT xc, realT yc) | 
| Create a 2-D Tukey window. | |
| template<typename arrT > | |
| void | mx::sigproc::window::tukey2d (arrT &filt, typename arrT::Scalar D, typename arrT::Scalar alpha, typename arrT::Scalar xc, typename arrT::Scalar yc) | 
| Create a 2-D Tukey window. | |
| template<typename realT > | |
| void | mx::sigproc::window::tukey2dAnnulus (realT *filt, int rows, int cols, realT D, realT eps, realT alpha, realT xc, realT yc) | 
| Create a 2-D Tukey window on an annulus. | |
| template<typename arrT > | |
| void | mx::sigproc::window::tukey2dAnnulus (arrT &filt, typename arrT::Scalar D, typename arrT::Scalar eps, typename arrT::Scalar alpha, typename arrT::Scalar xc, typename arrT::Scalar yc) | 
| Create a 2-D Tukey window on an annulus. | |
| template<typename realT > | |
| void | mx::sigproc::window::tukey2dSquare (realT *filt, int rows, int cols, realT W, realT H, realT alpha, realT xc, realT yc) | 
| Create a 2-D Tukey window on a rectangle. | |
| void mx::sigproc::window::exactBlackman | ( | std::vector< realT > & | filt | ) | 
The Exact Blackman Windwo.
See https://en.wikipedia.org/wiki/Window_function
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| realT | a real floating point type | 
| [out] | filt | The pre-allocated vector which will store the filter | 
Definition at line 287 of file signalWindows.hpp.
References mx::sigproc::window::exactBlackman().