nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
nk::signal::Fir2Options Struct Reference

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.

Detailed Description

Optional arguments for fir2.

Definition at line 76 of file filter_design.hpp.

Member Data Documentation

◆ lap

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.

◆ npt

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.

◆ window

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.


The documentation for this struct was generated from the following file: