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.
Go to the source code of this file.
Namespaces | |
mx | |
The mxlib c++ namespace. | |
Functions | |
template<typename realT > | |
void | mx::sigproc::window::tukey (realT *filt, int N, realT alpha) |
The Tukey Window. More... | |
template<typename realT > | |
void | mx::sigproc::window::tukey (std::vector< realT > &filt, realT alpha) |
The Tukey Window. More... | |
template<typename realT > | |
void | mx::sigproc::window::genCosine (realT *filt, size_t N, realT a0, realT a1) |
The generalized 2 parameter cosine Window. More... | |
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. More... | |
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. More... | |
template<typename realT > | |
void | mx::sigproc::window::hann (realT *filt, int N) |
The Hann Window. More... | |
template<typename realT > | |
void | mx::sigproc::window::hann (std::vector< realT > &filt) |
The Hann Window. More... | |
template<typename realT > | |
void | mx::sigproc::window::hamming (realT *filt, int N) |
The Hamming Window. More... | |
template<typename realT > | |
void | mx::sigproc::window::hamming (std::vector< realT > &filt) |
The Hamming Window. More... | |
template<typename realT > | |
void | mx::sigproc::window::blackman (realT *filt, size_t N) |
The Blackman Window. More... | |
template<typename realT > | |
void | mx::sigproc::window::blackman (std::vector< realT > &filt) |
The Blackman Window. More... | |
template<typename realT > | |
void | mx::sigproc::window::exactBlackman (realT *filt, size_t N) |
The Exact Blackman Window. More... | |
template<typename realT > | |
void | mx::sigproc::window::exactBlackman (std::vector< realT > &filt) |
The Exact Blackman Windwo. More... | |
template<typename realT > | |
void | mx::sigproc::window::nuttal (realT *filt, size_t N) |
The Nuttal Window. More... | |
template<typename realT > | |
void | mx::sigproc::window::nuttal (std::vector< realT > &filt) |
The Nuttal Window. More... | |
template<typename realT > | |
void | mx::sigproc::window::blackmanNuttal (realT *filt, size_t N) |
The Blackman-Nuttal Windwo. More... | |
template<typename realT > | |
void | mx::sigproc::window::blackmanNuttal (std::vector< realT > &filt) |
The Blackman-Nuttal Windwo. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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().