Acceleration maps show the g-forces experienced by the car around the circuit. This includes longitudinal acceleration (braking and acceleration) and lateral acceleration (cornering forces).
The native chart accepts the shared filters plus a few chart-specific options. Change the color scale with cmap, or write the figure straight to a file with save_path:
import tif1# Custom colormap, saved directly to a filefig, ax = tif1.plot_track_acceleration_map( 2023, 'Suzuka', 'Q', cmap='seismic', save_path='track_acceleration_map.png', dpi=300,)plt.show()
The default cmap='RdBu_r' matches the chart above.
The whole workflow above is wrapped in a single native function:
import tif1import matplotlib.pyplot as plt# One call: loads the session, computes acceleration, and draws the track mapfig, ax = tif1.plot_track_acceleration_map(2023, 'Suzuka', 'Q')plt.show()# Or save straight to a file# tif1.plot_track_acceleration_map(2023, 'Suzuka', 'Q', save_path='track_acceleration_map.png')