
Load Session and Get Fastest Laps
Compare VER and LEC at Monaco Qualifying.Compute Accelerations
Calculate longitudinal and lateral g-forces from telemetry data.Label Driver Actions
Categorize each telemetry point as braking, full throttle, or lifting.Create Comparison Plot
Visualize speed, accelerations, and driver inputs.Parameters
The native chart accepts the shared filters plus the analyzed distance window.distance_min and distance_max bound the comparison to a section of the lap. The defaults (1000 m to 2500 m) give the section shown in the image above. Without drivers, the chart picks the top-2 finishers:
ax is a numpy array of the 4 panel axes, not a single axes.
Complete Example
The whole workflow above is wrapped in a single native function:np.diff and np.gradient. It replaces values above 7.5 g with the previous sample instead of clipping them with np.clip. It also labels the faster driver by average speed in the distance window.
What to Analyze
- Speed traces: Who carries more speed through corners?
- Longitudinal acceleration: Positive = accelerating, negative = braking. Who brakes harder or accelerates earlier?
- Lateral acceleration: Shows cornering forces. Higher absolute values = more speed through corners. The sign shows the direction of the corner.
- Driver actions: Visual representation of throttle and brake application.
Key Insights
Look for:- Braking points: Who brakes later?
- Throttle application: Who gets on power earlier?
- Cornering speed: Who maintains higher minimum speeds?
- G-forces: Who pushes the car harder in braking and cornering?
tif1 shows driver performance and car behavior in detail.