class documentation

class Scenario__RatioAverageSpeedToSpeedLimit(NumberData):

View In Hierarchy

The average ratio between speed and speed limit over all road-based traffic participants and all frames in the file.

In case no speed limit is present, the denominator is set to the maximum available speed limit of the country (e.g. 130 km/h for Germany) and 20 km/h is added to it (resulting in 150 km/h for Germany).

Class Variable name Is always 'scenario/ratio_average_speed_to_speed_limit'
Class Variable val The average ratio between speed and speed limit over all road-based traffic participants and all frames in the file.
name: Literal['scenario/ratio_average_speed_to_speed_limit'] =

Is always 'scenario/ratio_average_speed_to_speed_limit'

val: float =

The average ratio between speed and speed limit over all road-based traffic participants and all frames in the file.