#include "radar_signal.h"
Definition at line 219 of file radar_signal.h.
◆ CwSignal() [1/3]
| fers_signal::CwSignal::CwSignal |
( |
| ) |
|
|
default |
◆ ~CwSignal()
| fers_signal::CwSignal::~CwSignal |
( |
| ) |
|
|
overridedefault |
◆ CwSignal() [2/3]
| fers_signal::CwSignal::CwSignal |
( |
const CwSignal & |
| ) |
|
|
deletenoexcept |
◆ CwSignal() [3/3]
| fers_signal::CwSignal::CwSignal |
( |
CwSignal && |
| ) |
|
|
deletenoexcept |
◆ clear()
| void fers_signal::Signal::clear |
( |
| ) |
|
|
noexceptinherited |
◆ getRate()
| RealType fers_signal::Signal::getRate |
( |
| ) |
const |
|
noexceptinherited |
Gets the sample rate of the signal.
- Returns
- The sample rate of the signal.
Definition at line 69 of file radar_signal.h.
◆ load()
| void fers_signal::Signal::load |
( |
std::span< const ComplexType > |
inData, |
|
|
unsigned |
samples, |
|
|
RealType |
sampleRate |
|
) |
| |
|
inherited |
Loads complex radar waveform data.
- Parameters
-
| 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 63 of file radar_signal.cpp.
64 {
67 _data.resize(samples * ratio);
68 _size = samples * ratio;
69 _rate = sampleRate * ratio;
70
71 if (ratio == 1)
72 {
73 std::ranges::copy(inData, _data.begin());
74 }
75 else
76 {
78 }
79 }
void clear() noexcept
Clears the internal signal data.
void upsample(const std::span< const ComplexType > in, const unsigned size, std::span< ComplexType > out)
Upsamples a signal by a given ratio.
unsigned oversampleRatio() noexcept
Get the oversampling ratio.
References fers_signal::Signal::clear(), params::oversampleRatio(), and fers_signal::upsample().
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ render()
Renders the signal data.
For CW signals, this is a no-op.
- Returns
- An empty vector of complex signal data.
Reimplemented from fers_signal::Signal.
Definition at line 29 of file radar_signal.cpp.
31 {
32 size = 0;
33 return {};
34 }
The documentation for this class was generated from the following files: