|
FERS 1.0.0
The Flexible Extensible Radar Simulator
|
Classes | |
| class | Parameters |
| Struct to hold simulation parameters. More... | |
Enumerations | |
| enum class | CoordinateFrame { ENU , UTM , ECEF } |
| Defines the coordinate systems supported for scenario definition. More... | |
Functions | |
| RealType | c () noexcept |
| Get the speed of light. | |
| RealType | boltzmannK () noexcept |
| Get the Boltzmann constant. | |
| RealType | startTime () noexcept |
| Get the start time for the simulation. | |
| RealType | endTime () noexcept |
| Get the end time for the simulation. | |
| RealType | simSamplingRate () noexcept |
| Get the simulation sampling rate. | |
| RealType | rate () noexcept |
| Get the rendering sample rate. | |
| unsigned | randomSeed () noexcept |
| Get the random seed. | |
| unsigned | adcBits () noexcept |
| Get the ADC quantization bits. | |
| unsigned | renderFilterLength () noexcept |
| Get the render filter length. | |
| unsigned | renderThreads () noexcept |
| Get the number of worker threads. | |
| unsigned | oversampleRatio () noexcept |
| Get the oversampling ratio. | |
| void | setC (RealType cValue) noexcept |
| Set the speed of light. | |
| void | setTime (const RealType startTime, const RealType endTime) noexcept |
| Set the start and end times for the simulation. | |
| void | setSimSamplingRate (const RealType rate) noexcept |
| Set the simulation sampling rate. | |
| void | setRate (RealType rateValue) |
| Set the rendering sample rate. | |
| void | setRandomSeed (const unsigned seed) noexcept |
| Set the random seed. | |
| void | setAdcBits (const unsigned bits) noexcept |
| Set the ADC quantization bits. | |
| void | setOversampleRatio (unsigned ratio) |
| Set the oversampling ratio. | |
| void | setOrigin (const double lat, const double lon, const double alt) noexcept |
| Set the geodetic origin for the KML generator. | |
| double | originLatitude () noexcept |
| double | originLongitude () noexcept |
| double | originAltitude () noexcept |
| std::expected< void, std::string > | setThreads (const unsigned threads) noexcept |
| Set the number of worker threads. | |
| void | setCoordinateSystem (const CoordinateFrame frame, const int zone, const bool north) noexcept |
| Set the coordinate system for the scenario. | |
| CoordinateFrame | coordinateFrame () noexcept |
| int | utmZone () noexcept |
| bool | utmNorthHemisphere () noexcept |
| NLOHMANN_JSON_SERIALIZE_ENUM (CoordinateFrame, {{CoordinateFrame::ENU, "ENU"}, {CoordinateFrame::UTM, "UTM"}, {CoordinateFrame::ECEF, "ECEF"}}) void to_json(nlohmann | |
| void | from_json (const nlohmann::json &j, Parameters &p) |
Variables | |
| Parameters | params |
|
strong |
Defines the coordinate systems supported for scenario definition.
| Enumerator | |
|---|---|
| ENU | East-North-Up local tangent plane (default) |
| UTM | Universal Transverse Mercator. |
| ECEF | Earth-Centered, Earth-Fixed. |
Definition at line 28 of file parameters.h.
|
noexcept |
Get the ADC quantization bits.
Definition at line 121 of file parameters.h.
Referenced by processing::quantizeAndScaleWindow().
Here is the caller graph for this function:
|
noexcept |
Get the Boltzmann constant.
Definition at line 85 of file parameters.h.
Referenced by processing::applyThermalNoise().
Here is the caller graph for this function:
|
noexcept |
Get the speed of light.
Definition at line 79 of file parameters.h.
Referenced by simulation::calculateDirectPathContribution(), simulation::calculatePreviewLinks(), simulation::calculateReflectedPathContribution(), fers_get_antenna_pattern(), simulation::solveRe(), and simulation::solveReDirect().
Here is the caller graph for this function:
|
noexcept |
Definition at line 272 of file parameters.h.
Referenced by serial::KmlGenerator::generateKml().
Here is the caller graph for this function:
|
noexcept |
Get the end time for the simulation.
Definition at line 97 of file parameters.h.
Referenced by fers_signal::from_json(), radar::Receiver::getWindowCount(), serial::json_to_world(), radar::processRawSchedule(), core::runEventDrivenSim(), core::World::scheduleInitialEvents(), and setTime().
Here is the caller graph for this function:| void params::from_json | ( | const nlohmann::json & | j, |
| Parameters & | p | ||
| ) |
Definition at line 516 of file json_serializer.cpp.
References params::Parameters::adc_bits, params::Parameters::c, params::Parameters::coordinate_frame, params::Parameters::DEFAULT_C, params::Parameters::end, params::Parameters::origin_altitude, params::Parameters::origin_latitude, params::Parameters::origin_longitude, params::Parameters::oversample_ratio, params::Parameters::random_seed, params::Parameters::rate, params::Parameters::sim_sampling_rate, params::Parameters::start, UTM, params::Parameters::utm_north_hemisphere, and params::Parameters::utm_zone.
| params::NLOHMANN_JSON_SERIALIZE_ENUM | ( | CoordinateFrame | , |
| {{CoordinateFrame::ENU, "ENU"}, {CoordinateFrame::UTM, "UTM"}, {CoordinateFrame::ECEF, "ECEF"}} | |||
| ) |
Definition at line 485 of file json_serializer.cpp.
|
noexcept |
Definition at line 240 of file parameters.h.
Referenced by serial::KmlGenerator::generateKml().
Here is the caller graph for this function:
|
noexcept |
Definition at line 236 of file parameters.h.
Referenced by serial::KmlGenerator::generateKml().
Here is the caller graph for this function:
|
noexcept |
Definition at line 238 of file parameters.h.
Referenced by serial::KmlGenerator::generateKml().
Here is the caller graph for this function:
|
noexcept |
Get the oversampling ratio.
Definition at line 139 of file parameters.h.
Referenced by processing::applyThermalNoise(), fers_signal::downsample(), processing::finalizeCwReceiver(), serial::json_to_world(), fers_signal::Signal::load(), processing::renderWindow(), core::runEventDrivenSim(), processing::runPulsedFinalizer(), radar::Transmitter::setPrf(), radar::Receiver::setWindowProperties(), and fers_signal::upsample().
Here is the caller graph for this function:
|
noexcept |
Get the random seed.
Definition at line 115 of file parameters.h.
|
noexcept |
Get the rendering sample rate.
Definition at line 109 of file parameters.h.
Referenced by serial::addChunkToFile(), processing::applyThermalNoise(), processing::finalizeCwReceiver(), noise::ClockModelGenerator::getSample(), serial::json_to_world(), processing::renderWindow(), core::runEventDrivenSim(), processing::runPulsedFinalizer(), radar::Transmitter::setPrf(), setSimSamplingRate(), and radar::Receiver::setWindowProperties().
Here is the caller graph for this function:
|
noexcept |
Get the render filter length.
Definition at line 127 of file parameters.h.
Referenced by fers_signal::Signal::render().
Here is the caller graph for this function:
|
noexcept |
Get the number of worker threads.
Definition at line 133 of file parameters.h.
Referenced by fers_run_simulation().
Here is the caller graph for this function:
|
noexcept |
Set the ADC quantization bits.
| bits | The new ADC quantization bits. |
Definition at line 201 of file parameters.h.
References logging::DEBUG, and LOG.
|
noexcept |
Set the speed of light.
| cValue | The new speed of light. |
Definition at line 145 of file parameters.h.
References logging::INFO, and LOG.
|
noexcept |
Set the coordinate system for the scenario.
| frame | The coordinate frame (ENU, UTM, ECEF). |
| zone | The UTM zone, if applicable. |
| north | The UTM hemisphere (true for North), if applicable. |
Definition at line 265 of file parameters.h.
|
noexcept |
Set the geodetic origin for the KML generator.
| lat | The latitude of the origin. |
| lon | The longitude of the origin. |
| alt | The altitude of the origin (MSL). |
Definition at line 228 of file parameters.h.
References logging::INFO, and LOG.
| void params::setOversampleRatio | ( | unsigned | ratio | ) |
Set the oversampling ratio.
| ratio | The new oversampling ratio. |
| std::runtime_error | if the ratio is zero. |
Definition at line 212 of file parameters.h.
References logging::DEBUG, and LOG.
|
noexcept |
Set the random seed.
| seed | The new random seed value. |
Definition at line 191 of file parameters.h.
References logging::DEBUG, and LOG.
| void params::setRate | ( | RealType | rateValue | ) |
Set the rendering sample rate.
| rateValue | The new sample rate for rendering. |
Definition at line 177 of file parameters.h.
References logging::DEBUG, and LOG.
|
noexcept |
Set the simulation sampling rate.
| rate | The new simulation sampling rate. |
Definition at line 167 of file parameters.h.
References logging::DEBUG, LOG, and rate().
Here is the call graph for this function:
|
noexcept |
Set the number of worker threads.
| threads | The number of worker threads. |
std::expected<void, std::string> indicating success or an error message if the number of threads is invalid. Definition at line 248 of file parameters.h.
References logging::INFO, and LOG.
Referenced by fers_set_thread_count().
Here is the caller graph for this function:Set the start and end times for the simulation.
| startTime | Start time for the simulation. |
| endTime | End time for the simulation. |
Definition at line 156 of file parameters.h.
References endTime(), logging::INFO, LOG, and startTime().
Here is the call graph for this function:
|
noexcept |
Get the simulation sampling rate.
Definition at line 103 of file parameters.h.
Referenced by simulation::calculateResponse().
Here is the caller graph for this function:
|
noexcept |
Get the start time for the simulation.
Definition at line 91 of file parameters.h.
Referenced by processing::finalizeCwReceiver(), fers_signal::from_json(), radar::Receiver::getWindowCount(), serial::json_to_world(), radar::processRawSchedule(), core::runEventDrivenSim(), core::World::scheduleInitialEvents(), and setTime().
Here is the caller graph for this function:
|
noexcept |
Definition at line 276 of file parameters.h.
Referenced by serial::KmlGenerator::generateKml().
Here is the caller graph for this function:
|
noexcept |
Definition at line 274 of file parameters.h.
Referenced by serial::KmlGenerator::generateKml().
Here is the caller graph for this function:| Parameters params::params |
Definition at line 73 of file parameters.h.
Referenced by fers_load_scenario_from_xml_file(), fers_load_scenario_from_xml_string(), serial::json_to_world(), serial::parseSimulation(), serial::parseSimulationFromString(), serial::world_to_json(), and serial::world_to_xml_string().