|
FERS 0.1.0
The Flexible Extensible Radar Simulator
|
File-backed sampled waveform with explicit radar-mode identity. More...
#include "radar_signal.h"
Inheritance diagram for fers_signal::FileSignal:
Collaboration diagram for fers_signal::FileSignal:Public Member Functions | |
| FileSignal (FileWaveformKind kind) | |
| ~FileSignal () override=default | |
| FileSignal (const FileSignal &)=delete | |
| FileSignal & | operator= (const FileSignal &)=delete |
| FileSignal (FileSignal &&)=delete | |
| FileSignal & | operator= (FileSignal &&)=delete |
| FileWaveformKind | getKind () const noexcept |
| bool | isFmcwFamily () const noexcept override |
| Returns true when this signal belongs to the FMCW waveform family. | |
| 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. | |
| ComplexType | sampleAt (RealType time_since_start) const noexcept |
| Samples the finite stored complex envelope using the render interpolation filter. | |
File-backed sampled waveform with explicit radar-mode identity.
Definition at line 304 of file radar_signal.h.
|
explicit |
Definition at line 307 of file radar_signal.h.
|
overridedefault |
|
delete |
|
delete |
|
noexceptinherited |
Clears the internal signal data.
Definition at line 347 of file radar_signal.cpp.
Referenced by fers_signal::Signal::load().
Here is the caller graph for this function:
|
noexcept |
Definition at line 316 of file radar_signal.h.
|
noexceptinherited |
Gets the sample rate of the signal.
Definition at line 94 of file radar_signal.h.
|
noexceptinherited |
Gets the number of native samples held by this signal.
Definition at line 97 of file radar_signal.h.
|
overridevirtualnoexcept |
Returns true when this signal belongs to the FMCW waveform family.
Reimplemented from fers_signal::Signal.
Definition at line 317 of file radar_signal.h.
References fers_signal::Fmcw.
|
inherited |
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 353 of file radar_signal.cpp.
References fers_signal::Signal::clear(), max, params::oversampleRatio(), and fers_signal::upsample().
Here is the call graph for this function:
|
delete |
|
delete |
|
virtualinherited |
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::SteppedFrequencySignal, fers_signal::FmcwChirpSignal, and fers_signal::FmcwTriangleSignal.
Definition at line 402 of file radar_signal.cpp.
References max, and fers_signal::Signal::renderSlice().
Here is the call graph for this function:
|
virtualinherited |
Renders a bounded absolute-time slice on the requested output grid.
Definition at line 413 of file radar_signal.cpp.
References interp::InterpFilter::getInstance(), max, and params::renderFilterLength().
Referenced by fers_signal::Signal::render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexceptinherited |
Samples the finite stored complex envelope using the render interpolation filter.
Times outside [0, duration) return zero; file-backed signals never wrap implicitly.
Definition at line 376 of file radar_signal.cpp.
References interp::InterpFilter::getFilter(), interp::InterpFilter::getInstance(), max, and position.
Here is the call graph for this function: