Point Detection

class PointDetection(position, velocity, power)[source]

Bases: object

A single radar point detection.

Parameters:
  • position (np.ndarray) – Cartesian position of the detection in cartesian coordinates.

  • velocity (np.ndarray) – Velocity vector of the detection in m/s

  • power (float) – Power of the detection.

Raises:

ValueError – If position is not three-dimensional. If velocity is not three-dimensional. If power is smaller or equal to zero.

classmethod FromSpherical(zenith, azimuth, range, velocity, power)[source]

Generate a point detection from radar cube spherical coordinates.

Parameters:
  • zenith (float) – Zenith angle in Radians.

  • azimuth (float) – Azimuth angle in Radians.

  • range (float) – Point distance to coordiante system origin in m/s.

  • velocity (float) – Velocity from / to the coordinate system origin in m/s.

  • power (float) – Point power indicator.

Return type:

PointDetection

property position: ndarray

Position of the detection.

Returns:

Cartesian position in m.

Return type:

np.ndarray

property power: float

Detected power.

Returns:

Power.

Return type:

float

property velocity: ndarray

Velocity of the detection.

Returns:

Velocity vector in m/s.

Return type:

np.ndarray