Radar Evaluator

class RadarEvaluator(receiving_radar, transmitting_device, receiving_device, radar_channel)[source]

Bases: Evaluator, ABC

Bastract base class for evaluating sensing performance.

Inherits from the abstract Evaluator base class. Expects the abstract method evaluate() as well as the abstract properties abbreviation and title to be implemented.

There are currently three different RadarEvaluators implemented:

Parameters:
  • receiving_radar (Radar) – Radar detector to be evaluated.

  • transmitting_device (SimulatedDevice) – Device transmitting into the evaluated channel.

  • receiving_device (SimulatedDevice) – Device receiving from the evaluated channel. The receiving_radar must be a receive DSP algorithm of this device.

  • radar_channel (RadarChannelBase) – The radar channel containing the ground truth to be evaluated.

Raises:

ValueError – If the receiving radar is not an operator of the radar_channel receiver.

generate_result(grid, artifacts)[source]

Generates an evaluation result from the artifacts collected over the whole simulation grid.

Parameters:
  • grid (Sequence[GridDimension]) – The Simulation grid.

  • artifacts (numpy.ndarray) – Numpy object array whose dimensions represent grid dimensions.

Return type:

EvaluationResult

Returns:

The evaluation result.

property radar_channel: RadarChannelBase

The considered radar channel.

property receiving_device: SimulatedDevice

Device receiving from the evaluated channel.

property receiving_radar: Radar

Radar detector, the output of which is to be evaluated.

property transmitting_device: SimulatedDevice

Device transmitting into the evaluated channel.