Skip to main content

Radar data validation and analysis tool

Project description

Valdar

Valdar is a Mobileye radar data validation and analysis tool designed to process and assess radar logs for quality metrics


📦 Installation

Install from PyPI:

pip install valdar

🚀 Usage

from valdar import RadarAnalyzer

analyzer = RadarAnalyzer("/path/to/pext_dir")  # must include 'bml_LowLevelCRF_frame' pext
status = analyzer.evaluate()

# Access results
print("LRR status:", status.lrr_status)
print("NR status:", status.nr_status)
print("LRR validity", status.valid_lrr)
print("NR validity", status.valid_nr)

Requirements

  • Python 3.7+

Output Structure

The RadarStatus object returned by RadarAnalyzer.evaluate() contains a structured summary of radar health metrics:

{
  "valid_lrr": bool | None,               # True if LRR data passes all checks,
                                          # False if any check fails,
                                          # None if data is missing or not applicable

  "valid_nr": bool | None,                # Same as above, but for NR data

  "lrr_status": {
    "drop_rate": float,                  # Ratio of dropped LRR frames (0.0 to 1.0)
    "valid_time_sync_rate": float,       # Proportion of LRR frames with synchronized timestamps
    "valid_calibration_rate": float,     # Proportion of LRR frames marked as calibrated
    "high_latency_rate": float,          # Proportion of LRR frames with latency > 0.2 seconds
  },

  "nr_status": {
    "drop_rate": float,                  # Ratio of dropped NR frames across all relevant sensors
    "valid_time_sync_rate": float,       # Proportion of NR frames with all timestamps synchronized
    "valid_calibration_rate": float,     # Proportion of NR frames where all sensors are calibrated
    "high_latency_rate": float,          # Proportion of NR frames with latency > 0.2 seconds on any sensor
  }
}

Each field can be None if the corresponding data column is missing in the input. Top-level valid_lrr and valid_nr fields summarize whether the data is considered "valid" based on configurable thresholds:

  • drop_rate < 0.05
  • valid_time_sync_rate > 0.95
  • valid_calibration_rate > 0.95
  • high_latency_rate < 0.05 Note: For NR metrics, a failure is counted if any of the four NR sensors fails the corresponding check for a frame.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

valdar-1.0.3.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

valdar-1.0.3-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file valdar-1.0.3.tar.gz.

File metadata

  • Download URL: valdar-1.0.3.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for valdar-1.0.3.tar.gz
Algorithm Hash digest
SHA256 25b66b955dfcf3b15d1b5176d79fdef1b1d9579761a00d4c1db309631b396d0f
MD5 09b2932055585bb5c12a52d1bbecd5f6
BLAKE2b-256 f921cb59042314ccd0db28b533f89e324385f95ed490203edac93f0778e126a6

See more details on using hashes here.

File details

Details for the file valdar-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: valdar-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for valdar-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f73c4a252be0b13a24bdf1069c2816da33fc0fc7015129574fe1a7b11ca1ab30
MD5 c5f02e6b3151c0b30aaba98bb18d2123
BLAKE2b-256 201aa2359d7c03e235d4ec9ccaca44d98646224ea203ca987954f51342039a4b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page