FERS 0.1.0
The Flexible Extensible Radar Simulator
Loading...
Searching...
No Matches
simulation_state.cpp File Reference
#include "simulation_state.h"
#include <algorithm>
#include <cmath>
#include <cstdint>
#include "core/logging.h"
#include "signal/radar_signal.h"
+ Include dependency graph for simulation_state.cpp:

Go to the source code of this file.

Namespaces

namespace  core
 

Functions

ActiveStreamingSource core::makeActiveSource (const radar::Transmitter *tx, RealType segment_start, RealType segment_end)
 Builds an active-source cache from a streaming transmitter and segment bounds.
 
ActiveStreamingSource core::makeActiveSourceFromWaveform (const fers_signal::RadarSignal *signal, RealType segment_start, RealType segment_end)
 Builds an active-source cache directly from a waveform for receiver-local LO references.
 
std::optional< RealTypecore::firstFmcwChirpStart (const ActiveStreamingSource &source, RealType active_start, RealType active_end)
 Returns the first FMCW chirp start inside the absolute interval, if one exists.
 
std::uint64_t core::countFmcwChirpStarts (const ActiveStreamingSource &source, RealType active_start, RealType active_end)
 Counts FMCW chirps that start inside the absolute interval.
 
std::optional< RealTypecore::firstFmcwTriangleStart (const ActiveStreamingSource &source, RealType active_start, RealType active_end)
 Returns the first FMCW triangle start inside the absolute interval, if one exists.
 
std::uint64_t core::countFmcwTriangleStarts (const ActiveStreamingSource &source, RealType active_start, RealType active_end)
 Counts FMCW triangles that start inside the absolute interval.