|
FERS 0.1.0
The Flexible Extensible Radar Simulator
|
Implements a Finite Impulse Response (FIR) filter. More...
#include "dsp_filters.h"
Inheritance diagram for fers_signal::FirFilter:
Collaboration diagram for fers_signal::FirFilter:Public Member Functions | |
| FirFilter (std::span< const RealType > coeffs) | |
| Constructs an FIR filter with the given coefficients. | |
| ~FirFilter () override=default | |
| RealType | filter (RealType) override |
| Filters a single real-valued sample; FIR scalar filtering is unsupported. | |
| void | filter (std::span< RealType >) noexcept override |
| Filters real-valued samples; FIR block filtering is unsupported for this overload. | |
| void | filter (std::vector< ComplexType > &samples) const |
| Filters a block of complex samples. | |
Implements a Finite Impulse Response (FIR) filter.
Definition at line 159 of file dsp_filters.h.
Constructs an FIR filter with the given coefficients.
| coeffs | Span of filter coefficients. |
Definition at line 167 of file dsp_filters.h.
|
overridedefault |
Filters a single real-valued sample; FIR scalar filtering is unsupported.
Implements fers_signal::DspFilter.
Definition at line 175 of file dsp_filters.h.
Filters real-valued samples; FIR block filtering is unsupported for this overload.
Implements fers_signal::DspFilter.
Definition at line 178 of file dsp_filters.h.
| void fers_signal::FirFilter::filter | ( | std::vector< ComplexType > & | samples | ) | const |
Filters a block of complex samples.
| samples | Span of complex samples to be filtered. |
Definition at line 358 of file dsp_filters.cpp.
References max.