Threshold

class ThresholdDetector(min_power, normalize=True, peak_detection=True)[source]

Bases: RadarDetector, Serializable

Extract points by a power threshold.

Parameters:
  • min_power (float) – Minmally required point power.

  • normalize (bool, optional) – Normalize the power during detection, so that min_power becomes a relative value betwee zero and one. Enabled by default.

  • peak_detection (bool, optional) – Run a peak detection algorithm to only extract points at power peaks. Enabled by default.

detect(cube)[source]

Generate a point cloud from a radar cube.

Parameters:

cube (RadarCube) – The radar cube to be processed.

Return type:

RadarPointCloud

Returns:

The resulting (usually sparse) point cloud.

property min_power: float

Minimally required point power.

Returns:

Power (linear).

Raises:

ValueError – On powers smaller or equal to zero.

property normalize: bool

Normalize cube power before detection.

Returns: Enabled flag.

property peak_detection: bool

Run a peak search before detection.

Returns: Enabled flag.