
Understanding Acceleration Data
- Longitudinal acceleration: Forward/backward forces during acceleration and braking
- Lateral acceleration: Sideways forces during cornering
- Measured in g-forces (1g = 9.81 m/s²)
Loading the Session
Calculating Longitudinal Acceleration
Longitudinal acceleration is derived from speed changes over time.Creating the Acceleration Map
Parameters
The native chart always draws the fastest lap of the session, so it has no driver or lap filters. Change the color scale withcmap, or write the figure straight to a file with save_path:
cmap='RdBu_r' matches the chart above.
Complete Example
The whole workflow above is wrapped in a single native function:Interpreting the Colors
- Red: The high end of the range (strongest acceleration)
- Blue: The low end of the range (heaviest braking)
- White/neutral: The middle of the range, not zero
Lateral Acceleration
Lateral acceleration comes from the speed and the track curvature. The curvature comes from theX and Y coordinates, which are in units of 1/10 m. A plain np.gradient of these coordinates amplifies the telemetry noise and gives values that are not realistic.
The G-G diagram and telemetry comparison tutorials use a smooth-derivative approach for both acceleration components. Use that approach for lateral acceleration.
Next Steps
- Compare speed patterns with acceleration zones
- Analyze brake zones for peak deceleration
- Study throttle application during acceleration