Skip to main content

Omega-Prime: Data Model, Data Format and Python Library for Handling Ground Truth Road Traffic Data

Data Model, Format and Python Library for ground truth road traffic data containing information on dynamic objects, map and environmental factors optimized for representing urban traffic. The repository contains:

Data Model and Specification

see Data Model & Specification

  • 🌍 Data Model: What signals exist and how these are defined.
  • 🧾 Data Format Specification: How to exchange and store those signals.

Python Library

The data model and format utilize ASAM OpenDRIVE and ASAM Open-Simulation-Interface GroundTruth messages. omega-prime sets requirements on presence and quality of ASAM OSI GroundTruth messages and ASAM OpenDRIVE files and defines a file format for the exchange and storage of these.

Omega-Prime is the successor of the OMEGAFormat. It has the benefit that its definition is directly based on the established standards ASAM OSI and ASAM OpenDRIVE and carries over the data quality requirements and the data tooling from OMEGAFormat. Therefore, it should be easier to incorporate omega-prime into existing workflows and tooling.

To learn more about the example data read example_files/README.md. Example data was taken and created from esmini.

Installation

pip install omega-prime

Usage

A detailed introduction to the features and usage can be found in ./docs/notebooks/tutorial.ipynb

Create an omega-prime file from an OSI GroundTruth message trace and an OpenDRIVE map:

import omega_prime

r = omega_prime.Recording.from_file("example_files/pedestrian.osi", map_path="example_files/fabriksgatan.xodr")
r.to_mcap("example.mcap")

If you want to create an OSI trace on your own in python, check out the python library betterosi.

Read and plot an omega-prime file:

r = omega_prime.Recording.from_file("example.mcap")
ax = r.plot()

Convert Existing Datasets to omega-prime

LevelXData

You can convert data from LevelXData to omega-prime. Under the hood lxd-io is used to perform the conversion.

from omega_prime.converters import LxdConverter

converter = LxdConverter("./exiD-dataset-v2.0", "./exiD-as-omega-prime", n_workers=4)
# convert the dataset and store the omega-prime files in the new directory
converter.convert()
# access Recordings directly without storing them
iterator_of_recordings = converter.yield_recordings()

or with omega-prime from-lxd ./exiD-dataset-v2.0 ./exiD-as-omega-prime --n-workers=4.

Tested with exiD-v2.0, inD-v1.1, highD-v1.0 (highD does not provide an ASAM OpenDRIVE map).

File Format

Based on MCAP, ASAM OSI and ASAM OpenDRIVE the ASAM OSI GroundTruth messages and ASAM OpenDRIVE map are packaged as shown in the following figure.

Visualization in Lichtblick

You can view omega-prime files in Lichtbick (fork of foxglove) using the plugins asam-opendrive-converter and asam-osi-converter

Acknowledgements

This package is developed as part of the SYNERGIES project.

Funded by the European Union. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or European Climate, Infrastructure and Environment Executive Agency (CINEA). Neither the European Union nor the granting authority can be held responsible for them.

Notice

Metadata

Release files for omega-prime 0.3.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for omega-prime 0.3.7
File Size Uploaded
omega_prime-0.3.7.tar.gz 8.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for omega-prime 0.3.7
File Interpreter ABI Platform
omega_prime-0.3.7-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 MB

Release files / omega_prime-0.3.7.tar.gz

Download URL omega_prime-0.3.7.tar.gz
Size 8.3 MB
Tags Source
SHA-256 checksum
How to use checksums
1e781eededaa3d9ca6e35f766c49e1ced6e523b11d389300ca040e76ec470822
BLAKE2b-256 checksum
How to use checksums
9992e8c2287320733a585ad12690b6a96e740ef7324d55d78c16d45a897af84a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release files / omega_prime-0.3.7-py3-none-any.whl

Download URL omega_prime-0.3.7-py3-none-any.whl
Size 91.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7e91f356675c097ae7fe7428dc121cc96d45b9c6215f9316ead3b8905896365a
BLAKE2b-256 checksum
How to use checksums
8b096872f0b5ef6bdd0b9ba1e8b6f80f84aae65ddb107abac0d7dc57a0c3b4b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.7 This release

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.21

2 release files

0.1.19

2 release files

0.1.18

2 release files

0.1.16

2 release files

0.1.15

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page