Optional arguments for fir2. More...
#include <filter_design.hpp>
Public Attributes | |
| int | npt = 0 |
| Number of frequency-grid points (npt). | |
| int | lap = 0 |
| Width, in grid points, of the smoothing region applied at a duplicated break frequency (lap). | |
| Value | window = Value::Empty |
| Output window, a length-(N+1) vector. | |
Optional arguments for fir2.
Definition at line 76 of file filter_design.hpp.
| int nk::signal::Fir2Options::lap = 0 |
Width, in grid points, of the smoothing region applied at a duplicated break frequency (lap).
0 selects the default floor(npt/25).
Definition at line 85 of file filter_design.hpp.
| int nk::signal::Fir2Options::npt = 0 |
Number of frequency-grid points (npt).
0 selects the default 512 (auto-grown for very long filters). A user value is rounded up to the next power of two.
Definition at line 80 of file filter_design.hpp.
| Value nk::signal::Fir2Options::window = Value::Empty |
Output window, a length-(N+1) vector.
Empty selects the default Hamming window.
Definition at line 89 of file filter_design.hpp.