Skip to main content

TheoreticalBestAnalyzer - Circuit Session - Lime Rock MX-5

Calculate theoretical best lap time by combining fastest mini-sectors from all laps

Sample Data

AttributeValue
Sourcegarage61
Categorycircuit_lap
File01K451BYJ64G0T2GPQ44AKXC86

Available Channels: LongAccel, VertAccel, YawRate, abs_active, brake, clutch, drs_active, gear, lap_distance_pct, lat_accel, latitude, longitude, position_type, rpm, speed, speed_kph, speed_mph, steering, throttle, time, track_pct, yaw


Configuration

SettingValue
Slice Typelap
Metadata OnlyFalse
Required Channelstime, distance

When to Use

  • User asks 'what's my theoretical best' or 'what if I put it all together'
  • User wants to know their potential with current skill level
  • User asks how much time is 'on the table' if they drive perfectly
  • User wants to see which sectors have the most improvement potential

Key Options

OptionDescription
lap_selectionall
n_best_lapsLimit to N best laps for sector comparison (default: 5)
sector_size_mMini-sector size in meters for granular analysis (default: 50)

Sample Output

Subjects Analyzed: 1

Top 5 Laps (Default)

Options: n_best_laps=5

{
"metrics": [],
"mini_sectors": {},
"warnings": [],
"metadata": {
"analyzer": "theoretical_best",
"subjects_analyzed": 0
}
}

Top 3 Laps

Options: n_best_laps=3

{
"metrics": [],
"mini_sectors": {},
"warnings": [],
"metadata": {
"analyzer": "theoretical_best",
"subjects_analyzed": 0
}
}

Example Calls

What's my theoretical best lap if I put all my best sectors together

analyze(analyzers='theoretical_best', event='01H8SP4HK4')

Calculates theoretical best by taking fastest mini-sector times across all laps

How much faster could I go in this session

analyze(analyzers='theoretical_best', event='01H8SP4HK4', lap_selection='best', n_best_laps=10)

Uses only top 10 laps to calculate realistic theoretical best


Generated from b4racing.analysis.analyzers.theoretical_best.TheoreticalBestAnalyzer