|
FERS 0.1.0
The Flexible Extensible Radar Simulator
|
Implementation file for Digital Signal Processing (DSP) filters and upsampling/downsampling functionality. More...
#include "dsp_filters.h"#include <algorithm>#include <array>#include <cmath>#include <complex>#include <cstddef>#include <numeric>#include <ranges>#include <set>#include <stdexcept>#include "core/logging.h"#include "core/parameters.h"
Include dependency graph for dsp_filters.cpp:Go to the source code of this file.
Namespaces | |
| namespace | fers_signal |
Functions | |
| void | fers_signal::upsample (const std::span< const ComplexType > in, const unsigned size, std::span< ComplexType > out) |
| Upsamples a complex waveform with zero-stuffing followed by Blackman FIR filtering. | |
| std::vector< ComplexType > | fers_signal::downsample (std::span< const ComplexType > in) |
| Low-pass filters and decimates an oversampled complex waveform back to base rate. | |
Variables | |
| constexpr RealType | BLACKMAN_A0 = 0.42 |
| constexpr RealType | BLACKMAN_A1 = 0.5 |
| constexpr RealType | BLACKMAN_A2 = 0.08 |
Implementation file for Digital Signal Processing (DSP) filters and upsampling/downsampling functionality.
Definition in file dsp_filters.cpp.
Definition at line 28 of file dsp_filters.cpp.
Definition at line 29 of file dsp_filters.cpp.
Definition at line 30 of file dsp_filters.cpp.