|
FERS 0.1.0
The Flexible Extensible Radar Simulator
|
Class for handling radar waveform signal data. More...
#include "radar_signal.h"
Inheritance diagram for fers_signal::Signal:Public Member Functions | |
| virtual | ~Signal ()=default |
| Signal ()=default | |
| Signal (const Signal &)=delete | |
| Signal & | operator= (const Signal &)=delete |
| Signal (Signal &&)=default | |
| Signal & | operator= (Signal &&)=default |
| void | clear () noexcept |
| Clears the internal signal data. | |
| void | load (std::span< const ComplexType > inData, unsigned samples, RealType sampleRate) |
| Loads complex radar waveform data. | |
| RealType | getRate () const noexcept |
| Gets the sample rate of the signal. | |
| unsigned | getSampleCount () const noexcept |
| Gets the number of native samples held by this signal. | |
| virtual std::vector< ComplexType > | render (const std::vector< interp::InterpPoint > &points, unsigned &size, double fracWinDelay) const |
| Renders the signal data based on interpolation points. | |
| virtual std::vector< ComplexType > | renderSlice (const std::vector< interp::InterpPoint > &points, RealType outputStartTime, RealType outputSampleRate, std::size_t sampleCount, RealType fracWinDelay) const |
| Renders a bounded absolute-time slice on the requested output grid. | |
| virtual bool | isFmcwFamily () const noexcept |
| Returns true when this signal belongs to the FMCW waveform family. | |
Class for handling radar waveform signal data.
Definition at line 52 of file radar_signal.h.
|
virtualdefault |
|
default |
|
default |
|
noexcept |
Clears the internal signal data.
Definition at line 232 of file radar_signal.cpp.
Referenced by load().
Here is the caller graph for this function:
|
noexcept |
Gets the sample rate of the signal.
Definition at line 86 of file radar_signal.h.
|
noexcept |
Gets the number of native samples held by this signal.
Definition at line 89 of file radar_signal.h.
Returns true when this signal belongs to the FMCW waveform family.
Reimplemented in fers_signal::FmcwChirpSignal, and fers_signal::FmcwTriangleSignal.
Definition at line 109 of file radar_signal.h.
| void fers_signal::Signal::load | ( | std::span< const ComplexType > | inData, |
| unsigned | samples, | ||
| RealType | sampleRate | ||
| ) |
Loads complex radar waveform data.
| inData | The input span of complex signal data. |
| samples | The number of samples in the input data. |
| sampleRate | The sample rate of the input data. |
Definition at line 238 of file radar_signal.cpp.
References clear(), max, params::oversampleRatio(), and fers_signal::upsample().
Here is the call graph for this function:
|
virtual |
Renders the signal data based on interpolation points.
| points | A vector of interpolation points used to render the signal. |
| size | Reference to store the size of the rendered data. |
| fracWinDelay | Fractional window delay to apply during rendering. |
Reimplemented in fers_signal::CwSignal, fers_signal::FmcwChirpSignal, and fers_signal::FmcwTriangleSignal.
Definition at line 261 of file radar_signal.cpp.
References max, and renderSlice().
Here is the call graph for this function:
|
virtual |
Renders a bounded absolute-time slice on the requested output grid.
Definition at line 272 of file radar_signal.cpp.
References interp::InterpFilter::getInstance(), max, and params::renderFilterLength().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function: