Skip to content

Instantly share code, notes, and snippets.

View dhupee's full-sized avatar
💭
being weirder and weirded

Daffa Haj Tsaqif dhupee

💭
being weirder and weirded
View GitHub Profile
#plot george russel quali RPM
rus_rpm = rus_car_data['RPM']
rus_tps = rus_car_data['Throttle']
rus_distance = rus_car_data['Distance']
rus_gear = rus_car_data['nGear']
#plot carlos sainz quali RPM
sai_rpm = sai_car_data['RPM']
sai_tps = sai_car_data['Throttle']
sai_distance = sai_car_data['Distance']
rus_car_data = rus.get_car_data().add_distance()
rus_car_data
# add quali session
quali = fastf1.get_session(2022, 'Hungaroring', 'Q')
quali.load(laps=True, telemetry=True, weather=True)
# load 4 fastest quali time
rus = quali.laps.pick_driver('RUS').pick_fastest()
sai = quali.laps.pick_driver('SAI').pick_fastest()
nor = quali.laps.pick_driver('NOR').pick_fastest()
@dhupee
dhupee / Fastf1-Hungaroring-Quali-2022_1.py
Last active August 7, 2022 12:31
Fastf1-Hungaroring-Quali-2022 gist
import fastf1
from fastf1 import plotting
from matplotlib import pyplot as plt
from matplotlib.pyplot import figure
from matplotlib.collections import LineCollection
from matplotlib import cm
import numpy as np
import pandas as pd
# Setup plotting
@dhupee
dhupee / README-Template.md
Created January 28, 2020 08:19 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites