Skip to content

Small python project that creates charts to compare the performance of 2 cars during an F1 session

License

Notifications You must be signed in to change notification settings

Nelson-Jnrnd/F1_Telemetry_Charts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

F1 Telemetry Charts 🏎️📊

This repository uses the FastF1 API and matplotlib to generate detailed analysis of F1 sessions.

Follow My Analysis 📝

I regularly post my analyses made with this project on my website. Check it out for more insights and updates!

Project Structure 📁

The project is organized into Jupyter notebooks, each tailored to analyze different session types. The notebooks are located in the Notebooks folder and follow this structure:

  • Notebooks/
    • preseason_analysis.ipynb
    • free_practice_analysis.ipynb
    • qualifying_analysis.ipynb
    • race_analysis.ipynb

Each notebook generates folders at the root of the notebooks folder with the following structure:

Year/
  Race_location/
    Session_type/
      _graphs_/

Usage 🚀

  1. Clone this repository.

    git clone https://github.com/Nelson-Jnrnd/F1_Telemetry_Charts.git
    cd F1_Telemetry_Charts
  2. Install the required dependencies.

    pip install -r requirements.txt
  3. Navigate to the notebooks folder and open the desired notebook using Jupyter.

    jupyter notebook notebooks/preseason_analysis.ipynb
  4. Run the cells in the notebook to generate the analysis, you can specify which year, race-weekend and drivers you want to analyze. The generated graphs and data will be saved in the corresponding folders as described above.

Example 📈

Here are some examples of the charts and analysis generated by this project:

Ocon's overcut in the 2024 Australia GP. qualifying_example_1

Performance analysis between Alpine cars in the sector 3 of qualifying at Melbourne. qualifying_example_1

Time gain with virtual safety car by Alpine at the Miami GP 2024. race_example_1

Performance analysis between team in the sector 1 of qualifying at Suzuka. qualifying_example_1

About

Small python project that creates charts to compare the performance of 2 cars during an F1 session

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published