> For the complete documentation index, see [llms.txt](https://bah2018gp.f1datajunkie.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bah2018gp.f1datajunkie.com/race/lap-analysis.md).

# Lap Analysis

## Lap Analysis

![](https://1297771667-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L9C2PSLSndAcrzCAeR1%2F-L9bdDdnWW4BMnIAllkf%2F-L9bdOO2tdbnFI9ZarhA%2Ff1_2018_bah-la_race_session_utilisation-1.png?generation=1523231079922084\&alt=media)

![](https://1297771667-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L9C2PSLSndAcrzCAeR1%2F-L9bdDdnWW4BMnIAllkf%2F-L9bdOO7pzvxr5Ch_6zO%2Ff1_2018_bah-la_lapheatmap-1.png?generation=1523231079766124\&alt=media)

## Variant

Do a variant where the x is pos on lap and y label is leader label

Diff map by pos

* the only difference between this and above are the scales

![](https://1297771667-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L9C2PSLSndAcrzCAeR1%2F-L9bdDdnWW4BMnIAllkf%2F-L9bdOOvJtYz3HVsCRRE%2Ff1_2018_bah-la_battlesearch-1.png?generation=1523231071529284\&alt=media)

Then do an analysis to see how each driver is threatened by cars behind:

![](https://1297771667-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L9C2PSLSndAcrzCAeR1%2F-L9bdDdnWW4BMnIAllkf%2F-L9bdOP12PNTAxU8Tq8L%2Ff1_2018_bah-la_driverbattlesearch-1.png?generation=1523231071598881\&alt=media)
